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
Mehran Jahantabi
NA
2
0
DataSet Update does not work
Aug 14 2006 5:49 PM
Codes: x = Form1.dataGridView1.CurrentRow.Index; Form1.sqlConnection1.Open(); Form1.dataSet1.Tables["Table01"].Rows[x].BeginEdit(); Form1.dataSet1.Tables["Table01"].Rows[x].ItemArray[0] = textBox1.Text; Form1.dataSet1.Tables["Table01"].Rows[x].ItemArray[1] = textBox2.Text; Form1.dataSet1.Tables["Table01"].Rows[x].ItemArray[2] = textBox3.Text; Form1.dataSet1.Tables["Table01"].Rows[x].ItemArray[3] = textBox4.Text; Form1.dataSet1.Tables["Table01"].Rows[x].EndEdit(); Form1.sqlCommandBuilder1 = new SqlCommandBuilder(Form1.sqlDataAdapter1); Form1.sqlDataAdapter1 = Form1.sqlCommandBuilder1.DataAdapter; Form1.sqlDataAdapter1.Update(Form1.dataSet1, "Table01"); Form1.dataSet1.AcceptChanges(); Form1.sqlConnection1.Close(); Please Help Thank you
Reply
Answers (
0
)
DataSet Update does not work
Windows Service