DataGridView .NET 2.0

C

Christian Havel

Hi,

is it possible in the new DataGridView to add only a fix count of rows
without that a extra row (for input of a new record) is shown automatically?

Christian
 
M

Manish Bafna

Hi,
When both DataGridView's AllowUserToAddRows and underlying
IBundingList.AllowNew(That is for example dataset1.Tables[0].Defaultview)
property are true, a user can add a new row which is marked with an
asterisk(*).Please do set them false and you will have fixed no. of rows
 
C

Christian Havel

Manish Bafna said:
Hi,
When both DataGridView's AllowUserToAddRows and underlying
IBundingList.AllowNew(That is for example dataset1.Tables[0].Defaultview)
property are true, a user can add a new row which is marked with an
asterisk(*).Please do set them false and you will have fixed no. of rows
--
Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.



Christian Havel said:
Hi,

is it possible in the new DataGridView to add only a fix count of rows
without that a extra row (for input of a new record) is shown automatically?

Christian
 

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