DataGridView and BindingNavigation

kfjames

New member
Joined
Feb 21, 2008
Messages
1
Programming Experience
10+
I have a datagridview that is bound to a dataset containing data read from an XML file. When I click on the add button i go into a form that the user can input data into. The data entry results in between 1 and somewhere less than 200,000 records being generated(its a telephony application). When i click ok on the form there is always a blank row in the datagridview with an arrow like pointer in it ... I can click the delete button on the bindingnavigator and it does away however i can't seem to keep if from being generated in the first place.
Any ideas?

I already have custom code behind the BindingNavigatorToolBarAddItemClick Event but that doesn't seem to take care of the problem.

Any help appreciated.

kfjames
 
That would be the new row addition ability? Set the DataGridView so AllowUserToAddRows = false.. Maybe that snot the exact name, but I think it starts with "Allow", have a look..
 
Back
Top