TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
saphiroth42
NA
53
0
insert records into Access DB
Feb 9 2005 9:13 AM
Hi, Im trying to insert a record into acess but im not sure whats wrong. conn.Open() 'Opens connection to DB sqlCommand = "Select * from MainInfo" AdapterGauge = New OleDbDataAdapter(sqlCommand, conn) ' fill dataset AdapterGauge.Fill(ds, "TableGauge") tempTable = ds.Tables("TableGauge") Dim dtNewRow As DataRow = tempTable.NewRow dtNewRow("Work Order #") = TextBox1.Text tempTable.Rows.Add(dtNewRow) AdapterGauge.Update(tempTable) Thank you
Reply
Answers (
1
)
WindowsForm with more Colour
VB.NET & Excel Problem