AD
Administrator
Syncfusion Team
August 8, 2006 03:58 AM UTC
Hi Dave,
You can not modify the Items collection when the DataSource property is set in a gridlist / combobox control. Please try this code to clear the list.
grdlstPR.DataSource = null
Thanks
Haneef
JD
Jayant D. Kulkarni
December 14, 2006 10:28 AM UTC
I tried this and it works fine...
if (userTable != null)
{
userTable.Clear();
}
userDataGridView.DataSource = null;
userDataGridView.Rows.Clear();
userDataGridView.Refresh();