DataGridView doesn't add new row

Joined
Jun 1, 2007
Messages
1
Reaction score
0
Hi, need your help, please.

I am designing a DataGridView where the user select the input from a pop-up lookup form.
When the user selected an item from the lookup, I change:
DataGridView.CurrentRow.Cells[1].Value = "xxx".

The problem is that the DataGridView doesn't add a new row automatically.
It only add a new row when user type something
Actually I can manually add a new row, but i would prefer the simple if any.
I just want to keep my code short and simple.


Best Regard,
Simon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top