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
majid_ahrar
NA
6
0
update the SQL
Jan 28 2005 1:06 PM
Good morning all I have two tables in SQL server. These two are related. I try to update these tables through the C# form. I do not have any data in these tables. The following are the Load and Save button codes. what am I doing worng? the SQL table does not get updated. Thanks for your help Mike Load function this.sqlDataAdapter1.Fill(this.DataSet1); this.BindingContext[this.DataSet1, "Patfo"].EndCurrentEdit(); this.BindingContext[this.DataSet1, "Patfo"].AddNew(); Save button: try { this.sqlDataAdapter1.Update(this.DataSet1); } catch(System.Exception Ex) { MessageBox.Show(Ex.Message); }
Reply
Answers (
4
)
Data Grid Update
its got to be right there.... (crystal reports with ado.net)