|
-
Jul 11th, 2004, 03:30 PM
#1
Thread Starter
Addicted Member
Convert VB 6 code to VB.NET Code [resolved]
How do I convert this to VB.NET. Everything I have seen so far needs to create DataAdapters and DataSets.
Please help. Thanks.
==================================
Dim db As Database
Dim dblocation As String
dblocation = App.Path & "\mtb.mdb"
Set db = OpenDatabase(dblocation)
Set rsjobs = db.OpenRecordset("jobs", dbOpenTable)
rsjobs.AddNew
rsjobs("jobid") = jobid.text
rsjobs("job name") = jobname.text
citylen = Len(Text2)
rsjobs.update
rsjobs.close
db.close
Last edited by craigreilly; Oct 8th, 2004 at 06:25 PM.
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
|