.NET Programming
--
Questions
--
Followers
Top Experts
Visual Studio 2010 : How to update data in a dataset?
Hi !
I'm really surprised that I got that far yet. I'm no a programmer.
I wanted to do a little simple application that retreive some data in a MS SQL database and show it to me in a DataGrid.
That is working pretty good. I just had to create a dataset with my SQL query in it and once that was done I draged it onto the virgin Form1 and it worked.


But I cannot update data. There's the little save icon that does nothing and just changing row does not update the data neither.

Do I have to setup this or it is supposed to be done by the wizzard ? If I have to setup it myself, could you point me a good tutorial as a starting point.
thank you.
I'm really surprised that I got that far yet. I'm no a programmer.
I wanted to do a little simple application that retreive some data in a MS SQL database and show it to me in a DataGrid.
That is working pretty good. I just had to create a dataset with my SQL query in it and once that was done I draged it onto the virgin Form1 and it worked.


But I cannot update data. There's the little save icon that does nothing and just changing row does not update the data neither.

Do I have to setup this or it is supposed to be done by the wizzard ? If I have to setup it myself, could you point me a good tutorial as a starting point.
thank you.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
The thing I don't understand is : if I create the dataset just by checking one table and then drag and drop to create a datagrid, it's working. But I soon as I configure de dataset with some SQL statement, it can update anymore.
I have join in my query !!!!
and this is not supported ? dosen't make sens to me
http://forums.asp.net/t/1205992.aspx/1
and this is not supported ? dosen't make sens to me
http://forums.asp.net/t/1205992.aspx/1
I don't care about this anymore






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
.NET Programming
--
Questions
--
Followers
Top Experts
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.