7
at last i got is solution of this problem
Use the using System.Collections namespaces
and add checkbox to Sortedlist class and bind to the checkboxlist;
here is code
SortedList sortedlist = new SortedList();
for (int i1 = 0; i1 < chk_1.Items.Count; i1++)
{
sortedlist.Add(chk_1.Items[i1].Value, chk_1.Items[i1].Text);
}
chk_1.DataSource = sortedlist;
chk_1.DataTextField = "Value";
chk_1.DataValueField = "Key";
chk_1.DataBind();
Thanks Dharmesh
hai hai hia hai
0
Very Good..............Keep It Up..........