Hi all,
I don't know how to bind data to comboboxes columns in gridview control.
I'm using this to bind data to grid view:
Two of data field are foreign keys to another table. I would like to bind data from another table to my combo box editor.
To get data from database I'm using OpenAccess ORM for PostgreSQL.
Regards,
Maciek
I don't know how to bind data to comboboxes columns in gridview control.
I'm using this to bind data to grid view:
private
void
Form1_Load(
object
sender, EventArgs e)
{
model =
new
DataModel.Entities();
dataSource =
new
BindingSource();
radGridView1.TableElement.BeginUpdate();
dataSource.DataSource = model.Items.ToList();
radGridView1.DataSource = dataSource;
radGridView1.TableElement.EndUpdate();
}
Two of data field are foreign keys to another table. I would like to bind data from another table to my combo box editor.
To get data from database I'm using OpenAccess ORM for PostgreSQL.
Regards,
Maciek