View previous topic :: View next topic |
Author |
Message |
temilson
Joined: 18 Nov 2006 Posts: 4
|
Posted: Sat Nov 18, 2006 6:18 am Post subject: Add record to datagridview bound to VirtualREcordset |
|
|
Maybe a dumb question, but how can I add a new row to a datagridview that is bound to a VirtualRecordset? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sat Nov 18, 2006 9:59 pm Post subject: |
|
|
Use the VirtualRecordset.AddNew method. Note that it isn't possible to use the DataGridView visual methods for adding a new row unless you are using a DataSet - so typically you would add new data with a seperate button (and dialog to fill in new data). _________________ Infralution Support |
|
Back to top |
|
|
|