I am using the following code to set the datasource for combobox Column
((GridViewComboBoxColumn)radGridView1.Columns["Name"]).DataSource = from medicine in db.Medicines
select medicine;
((GridViewComboBoxColumn)radGridView1.Columns["Name"]).DisplayMember = "Name";
((GridViewComboBoxColumn)radGridView1.Columns["Name"]).ValueMember = "ID";
during adding new row in grid, when i click on combo column, following exception throws
but getting the following Exception
"The list must be an IBindingList to AddNew."
a quick response would be highly appreciated
thanks
((GridViewComboBoxColumn)radGridView1.Columns["Name"]).DataSource = from medicine in db.Medicines
select medicine;
((GridViewComboBoxColumn)radGridView1.Columns["Name"]).DisplayMember = "Name";
((GridViewComboBoxColumn)radGridView1.Columns["Name"]).ValueMember = "ID";
during adding new row in grid, when i click on combo column, following exception throws
but getting the following Exception
"The list must be an IBindingList to AddNew."
a quick response would be highly appreciated
thanks