Datagridview Add row when databound

T

twq

hello

I have a datagridview in which one column is a datagridCombobox Column
which is data bound, in the second column the user is allowed to
enter what ever he wants, and i want the user to add rows via a
context menu only, i get an error message that rows can not be
programmatically added if control is databound, are there any
workarounds?

thanks
best regards
Tobias
 
T

twq

hello

I have a datagridview in which one column is a datagridCombobox Column
which is data bound, in the second column the user is allowed to
enter what ever he wants, and i want the user to add rows via a
context menu only, i get an error message that rows can not be
programmatically added if control is databound, are there any
workarounds?

thanks
best regards
Tobias

Sorry my mistake, I assigned a datatable to the grid earlier in the
code, works perfectly,
best regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top