|
-
July 30th, 2003, 07:34 AM
#1
Help please with moving from ADO to ADO.NET...
Afternoon all,
I am new to VB.NET and I need to add, edit and delete records from an access database. In VB6 I used the connection and recordset objects but now that I'm using VB.NET I'm not sure what to use now that there is an oledbconnection, oledbadapter, oledbreader objects etc...
Can anyone tell me which I should use. I am redeveloping my application under VB.NET from the previouse VB6 version so all this is very confussing.
Thanks in advance,
B.
-
July 31st, 2003, 04:00 AM
#2
hi!
I recommend you to carefully see
system.data.sqlclient namespace for SQL
system.data.oledb namespace for anyother db.
you will find all the required classes to work with databases there.
luck!
If you think you CAN, you can, If you think you CAN'T, you are probably right.
Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.
-
August 12th, 2003, 01:45 AM
#3
update, add and delete
Can be more specific on how to update, delete and add?
I have a datagrid in my form but i cant transfer the changes i made from datagrid to SQL table.
Can anyone, show me an example? I tried using dataadapter.update method but no luck.
Thanks,
Thanks!!!
Kristine
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|