Click here to Skip to main content
15,887,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In my project I am using DataGridView when populate the data from the database, And done some manipulation on the DataGridView. Now I Unable to edit the NEW ROW, Please can any one explain why this so?
Posted
Comments
Sandeep Mewara 2-Jul-12 12:54pm    
share your related code snippet to get any suggestions on the same. currently, it's hard to comment for anyone.
Kiran Susarla 2-Jul-12 12:57pm    
Can you please share the code?

1 solution

thanks for your Interest, I had wrote a statement clearing the datagridview rows which disabled the editing the cell.
dataGridView.Rows.Clear();<code><br />
later i had removed this line of code and assigned the empty datatable to the datagridview.
 
Share this answer
 

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