By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,376 Members | 1,599 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,376 IT Pros & Developers. It's quick & easy.

Adding records to database using custom connections

P: 1
I've created a custom datagrid with a custom ado connection. Everything works perfectly except now I am trying to add a button that will add records. The way I know how to do that is with the commands

dim newdatarow as
newdatarow = <>.<>.newrow

I put in..

newdatarow = db_ds.tbl_movdb.newrow

I get this error

'tbl_movdb' is not a member of 'System.Data.DataSet'.

I've been searching for example codes of adding records using custom datasets but found nothing.

If I need to paste more code please let me know and what exactly you need me to paste I have 2 forms (main and add) and a module that holds all my db and cmd settings

Dec 23 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.