Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Add record to datagridview bound to VirtualREcordset

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Data Objects Support
View previous topic :: View next topic  
Author Message
temilson



Joined: 18 Nov 2006
Posts: 4

PostPosted: Sat Nov 18, 2006 6:18 am    Post subject: Add record to datagridview bound to VirtualREcordset Reply with quote

Maybe a dumb question, but how can I add a new row to a datagridview that is bound to a VirtualRecordset?
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Nov 18, 2006 9:59 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Data Objects Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group