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
amit_gupta14
NA
119
0
???"Update Requires a valid InsertCommand when passed DataRow collection with new rows". ????
Dec 20 2004 8:13 AM
I am entering new values in text box and want to insert it in the table. I am using the following code: int aa=Int32.Parse(textBox1.Text); string ss=textBox2.Text; DataRow drAdd; drAdd=ds.Tables[0].NewRow(); drAdd[0]=aa; drAdd[1]=ss; ds.Tables[0].Rows.Add(drAdd); cc.dataadapt.Update(ds,"Test"); When I try to execute the above code, I get the message"Update Requires a valid InsertCommand when passed DataRow collection with new rows". What is the solution?
Reply
Answers (
0
)
sorting
Error:Cannot Create child list for field student