Hi All,
Iam using check list box. while search function the database value only i want to show in checklist box. Iam using following code.
if (dataSet.Tables[0].Rows[0]["Facilities"].ToString().Length > 0)
{
string[] splitTxt = null;
splitTxt = dataSet.Tables[0].Rows[0]["Facilities"].ToString().Split('|');
foreach (string arryVal in splitTxt)
{
if (cblAddNewSPAFacilities.Items.FindByValue(arryVal) != null)
{
cblAddNewSPAFacilities.Items.FindByValue(arryVal).Selected = true;
}
}
}
while searching before record value also show i the checklist box. How i avoid this.........
...
Go to the complete details ...