SqlCommand od =new SqlCommand ("update votedetails set votenum=votenum+1 where voteid="+voteid +"and votedetailsid="+this.rbl .SelectedValue .ToString (),cv);代码如上。可能是sql语句那错了,但我实在找不出来啊!请各位路过的大侠指点一下。