|
Prev: A page call B page's methods?
Next: debug on off
From: JustinD30324 on 5 Jul 2008 16:08 Hello. I have a DataGridView that is bound to a DataTable. If the user types in values for all the columns for the first row, then clicks into a column in the second row (empty), and then clicks back into the first row he just typed, then an empty row is added to the DataGridView. I'm guessing that somehow the AddRow function is being called when the user clicks in and out of the empty row. I don't want this to happen. A new row should only be added to the DataGridView if the user types in valid values for all the columns. Does anyone know how to fix this? Thanks. Justin
From: Munna on 6 Jul 2008 02:06 Hi,, I guess you are using "Inserting a New Record from the GridViews Footer" technique... http://www.asp.net/learn/data-access/tutorial-53-vb.aspx hiding the footer suppose to solve the problem Best of luck ------ Munna www.munna.shatkotha.com/blog www.munna.shatkotha.com www.shatkotha.com
|
Pages: 1 Prev: A page call B page's methods? Next: debug on off |