Hi,
I have added the items to the ListBox using Binding to the datatable.
ListBox1.DisplayName="SupplierName"
ListBox1.ValueMember="SupplierID"
ListBox1.DataSource = DT
Now i need to remove the items from the ListBox.
ListBox1.Items.Clear() - Throws Exception at the runtime.
Could you please let me know how can I Remove the items from the ListBox.
Thanks for the help!!...
I have added the items to the ListBox using Binding to the datatable.
ListBox1.DisplayName="SupplierName"
ListBox1.ValueMember="SupplierID"
ListBox1.DataSource = DT
Now i need to remove the items from the ListBox.
ListBox1.Items.Clear() - Throws Exception at the runtime.
Could you please let me know how can I Remove the items from the ListBox.
Thanks for the help!!...