GridView选中行获取ID问题
<asp:GridView   ID= "gvSelPatient "   runat= "server "   AllowSorting= "false "   AutoGenerateColumns= "false " 
                                                                                                             DataKeyNames= "PatientID "   HeaderStyle-Wrap= "true "   OnRowDataBound= "gvSelPatient_RowDataBound " 
                                                                                                             Width= "100% "   OnRowCommand= "gvSelPatient_RowCommand ">  
                                                                                                              <Columns>  
                                                                                                                          <asp:TemplateField   HeaderText= "选择 "   ItemStyle-Width= "7% ">  
                                                                                                                                      <ItemTemplate>  
                                                                                                                                                  <%-- <a   id= "lbSelect "   href= "# "   onclick= "choice() "> 选择 </a> --%>  
                                                                                                                                                  <%--    <a   id= "lkSelect "   href= "# "   onclick= "setPatientInfo() "> 选择 </a> --%>  
                                                                                                                                                  <input   name= "mycheck "   onclick= "choice(this) "   type= "checkbox "   value= "选择 "   />