<script type=
"text/javascript"
>
function
noError(){
return
true
;}
window.onerror = noError;
</script>
<script type=
"text/javascript"
>
function
noError(){
return
true
;}
window.onerror = noError;
</script>
<asp:DataGrid ID="grdList" DataKeyField="diagnosis_id" Runat="server" AutoGenerateColumns="False"
AllowPaging="False" PageSize="100" ShowHeader="true" >
<Columns>
<asp:BoundColumn DataField="diagnosis_name" HeaderText="DIAGNOSIS" SortExpression="diagnosis_name asc">
<HeaderStyle Width="75%" HorizontalAlign="Center" ></HeaderStyle>
<ItemStyle CssClass="greylabelsmall"></ItemStyle>
</asp:BoundColumn>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
Private Sub GetCheckedBox()
For Each item As DataGridItem In grdICDList.Items
If CType(item.FindControl("chkICD"), CheckBox).Checked Then
icdIds = icdIds + Convert.ToString( grdList .DataKeys.Item(item.ItemIndex)) + ","
End If
Next
If icdIds.Length > 0 Then
If icdIds.LastIndexOf(",") > 0 Then
icdIds = icdIds.Substring(0, icdIds.Length - 1)
End If
'SaveICDs()
InsertDiagnosis(icdIds)
End If
End Sub