Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.
this is an error msg appear when i need to add a new row to datagridview, how i can add new one ???
DataGridView1.Rows.Add()
Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.
this is an error msg appear when i need to add a new row to datagridview, how i can add new one ???
DataGridView1.Rows.Add()
Jump to PostHow are you binding the records to grid?
Jump to PostThen add the blank row to dataset and bind again..
How are you binding the records to grid?
by data set
Then add the blank row to dataset and bind again..
In datagridview,how can I input data then add row?
Please Reply
brylle , please use your own thread for your question. do not post your questions in others thread.
Regards
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.