I was working with grid-view,I try to enter some text on cell 1 on 0th row it automatically increment other rows and I again try to write some on cell 2 on the same 0th row ,Simultaneously increments other rows.
So for I tried with dataGridView1.AllowUserToAddRows=true; It doesn't allow me to write grid view,According to my understand based on click rows are generating automatically Please resolve this logic based on Cell Value Changed events.


Midhun TpRank #388 · 6.5K reputationPosted Sep 24, 2016, 4:26 AM EDT
You should use dataGridView1.AllowUserToAddRows=false; to prevent adding new rows. But that may not be what you are looking for. Please check below links-
http://stackoverflow.com/questions/9988330/preventing-a-new-row-from-appearing-in-a-datagridview-before-current-row-is-fill
http://stackoverflow.com/questions/9062180/how-to-disable-auto-creation-of-new-row-while-writing-into-datagridview
Ananth GRank #1,176 · 1.5K reputationPosted Oct 20, 2016, 1:51 AM EDT