G
Guest
Hi,
Forgive me for posting this message in 2 groups -- it appears that the Data
Access group isn't very active, so I'm posting again here:
I have a DataTable that I want to fill using a DataGridView. I've set the
DataSource of the DataGridView to my DataTable. My problem is that I want
some of the columns to be drop downs. For example, the user will need to
enter a "product" into one of the columns. There is a list of "products" in
another DataTable. I would like the user to be able to click a drop down in
my DataGridView to select the "product' that they want.
I'm not using the the designer to set this stuff up. The DataTables are
instantiated in the code. The DataGridView is now being handled in the code,
but this isn't necessary.
I've tried to make sense of the help screens and also some outside
references, but without any success. I'd really appreciate either some
guidance as to how to do this, or a reference that would help me.
Thanks very much,
Art
Forgive me for posting this message in 2 groups -- it appears that the Data
Access group isn't very active, so I'm posting again here:
I have a DataTable that I want to fill using a DataGridView. I've set the
DataSource of the DataGridView to my DataTable. My problem is that I want
some of the columns to be drop downs. For example, the user will need to
enter a "product" into one of the columns. There is a list of "products" in
another DataTable. I would like the user to be able to click a drop down in
my DataGridView to select the "product' that they want.
I'm not using the the designer to set this stuff up. The DataTables are
instantiated in the code. The DataGridView is now being handled in the code,
but this isn't necessary.
I've tried to make sense of the help screens and also some outside
references, but without any success. I'd really appreciate either some
guidance as to how to do this, or a reference that would help me.
Thanks very much,
Art