DataGridView and TextBoxes cooperation problems

  • Thread starter Thread starter AlanChong
  • Start date Start date
A

AlanChong

Guest
Hello. I didn't know how to ask this question. Please just look at the following pictures.

In the beginning the DataTable had 9 rows. Most of the columns are bound to TextBoxes with the rest of them to DataGridView.

I hit the edit button. I clicked row 9 on DataGridView.

1548002.jpg

I hit the down key to add a new row. Most TextBoxes were cleared with some loaded with default 100%. Things went well.

1548004.jpg

I clicked the first multi-line TextBox and tried to type in. This was a normal way a end user would do. But, then row 10 got deleted. All TextBoxes shown data of row 9.

1548005.jpg

How can I solve this problem ? I want row 10 stay there intact and start typing on any of the TextBoxes. Thanks.

Continue reading...
 
Back
Top