Groups | Blog | Home
all groups > vb.net data > september 2005 >

vb.net data : HELP!! - Insert Record VS.Net - VB.NET Access Database


Steven Marshall
9/27/2005 2:56:02 PM
I very new to Visual Studio/Visual Basic programming. I have done a lot of
VBScript in ASP pages, but that is it. I'm using Visual Studio .NET 2003
(Visual Basic .NET) and an Access Database, the data adapter I'm using is
Oledb.

I am trying to create an application to allow someone to update a staff
directory. The main form that I have is just a DataGrid that fills with the
info out of the database. You can change it right in the DataGrid and click
the "Update" button and it saves it to the database. What I want is to have a
simple form that has 7 text boxes on it (FirstName, LastName, Title, Prefix,
Extension, Department, WebPage). I want them to be able to fill in the text
boxes and click a button to insert the record into the Access database.

I've been cruising the Newsgroups for about 5 days now and can't find any
code that works. Can someone walk me through it? I know it can't be that
hard, I just can't figure it out.

Any suggestions are welcome, if there is an easier/alternative way of doing
this please explain.

Thanks for the help in advance....

Steven
9/30/2005 7:14:25 AM
Figured it out....

Here's a page that I found that finally had some code that actually
worked.

http://support.microsoft.com/kb/821765/EN-US/#7

--
Steven
AddThis Social Bookmark Button