hi, i have an datatable with valuees like this
names
------
kumar
kiran
ram
bala
----
anu
sita
geetha
-----
asha
abc
tsdf
dsf
sdf
sdfrt
sdfsdfd
sdfdsfsdf
--------
i am binding my table to listview like this
ListItem ddlItem;
foreach (DataRow dr in dt.Rows)
{
ddlItem = new ListItem(dr["names"].ToString())
lbx.Items.Add(ddlItem);
}
here even i need to bind my datatable wih all the values except"-----" these values . it should be in disable mode even though user tries to selected it will not get selected how can we get it achived. any help on this would be great thank you