Updating dataset to database c

I am using the below code; Its not generating any errors, but the data is not being saved in the database. There are ways on the web to save the dataset, if the datset is created, edited and saved in the same class etc., BUT I would like to have the select dataset method in the my Sql Service class.

However, you can also use different adapters, for example, to move data from one data source to another or to update multiple data sources. I pass data between Website and Web Service with Data Sets.Now I want to be able to update the data base with changes made in the user interface of the Website.Here I want to let you know that every changes that we have done with dataset, Dataset retains the Row State value for each row and then according to this Row State value.It perform the appropriate operation(Insert or Update or Delete).Now we use this Data Set as a Data Source of any of the Data Control like; Grid View, List View etc for showing this Data to User.

You must have an account to comment. Please register or login here!