I have a web page that has a gridview that I bind a dataset to. Then I save the dataset to a session variable and start working with the gridview. I update the gridviews columns with data. Now I want to save these records to the database on the server. So if I have to do anything with the dataset I have to use something like myds=ctype(session("ds"),dataset)
to use the dataset. My question is while I am updating the rows on the grid is the underlying dataset actually being changed, and how can I update the dataset with the new information from the datagrid if it is not automatically updating. Just confused on how to handle this. I can either go through all the rows in the datagrid and find each control and get the data, or preferably just update the database with the current dataset.
thanks for the help