Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi!

I'm using SqlDataAdapter Update but it's not working. I don't know why. It's my first time to use that command so i don't really know if i did it correctly.
Here's my code:

SQL
MyDataSet.AcceptChanges()
       MySqlDataAdapter.Update(MyDataSet, "tblRowHeader_Production")


Thanks!
Posted

1 solution

Insufficient information. We have no idea what you mean by "it doesn't work", what the error message is you're getting, what you're table structure looks like, what your SQL SELECT query looks like, how you're setting this up, ...
 
Share this answer
 
Comments
codejet 5-Oct-12 11:30am    
Please elaborate. Give us a bit more code to work with.
Dave Kreskowiak 5-Oct-12 17:21pm    
You might want to be careful with who you're replying to. I'm not the one who needs to see your post.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900