Click here to Skip to main content
14,738,115 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have a grid and when data is loaded in grid; I simply select a row and press edit button. On edit, new sub form is opened and values of row's cells are passed to controls on sub form. But, when I change some values on sub form and save them to be replaces in grid the error comes to me: Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound. What is cause of this error and how to overcome this.
pradiprenushe 12-Jul-12 1:02am
Can u paste code?
Member 11039101 12-Jul-18 9:18am

Use this link:-

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900