/// Codebehind
if (MemberInformationDt.Rows[0]["GovtScheme"].ToString()
!= "")
{
string GovtScheme = MemberInformationDt.Rows[0]["GovtScheme"].ToString();
for (int j = 0; j
< chkGovtScheme.Items.Count; j++)
{
DataRowView dv =
chkGovtScheme.Items[j] as DataRowView;
int vv = (int)dv["SchemeID"];
if
(GovtScheme.Contains(vv.ToString()))
{
chkGovtScheme.SetItemChecked(j, true);
}
}
}
No comments:
Post a Comment