Aspxgridview rowupdating tutorial
My guess is that if you can get the Gridview has a Currency Manager somehow attached, then you can probably get the values from it. I'm in a similar boat...almost the same conditions. NET 1.1 that the datagrid had something called a Currency Manager...it looks like the object still exists in 2.0. I have the following code below in my Grid View1_Row Updating event. Maybe after midnight today, or sometime this weekend. When I go to configure the datasource for my Object Data Source, on my first screen where I designate the business object, my dropdownlist is blank. Turns out getting the DAL, BLL, and the Object Data Souce in place, did the trick. Tracing the code, using both methods above, the value of the textbox is not being passed back; it doesn't appear in the newvalues either. That probably needs to be linked into the Object Data Source along my Get Products, as well as the Add Products, and Delete Product methods. Problem is, I don't have the time at the moment yet. And back to my original question, how to I get the new value? I have a gridview, go into edit mode, enter a value in a textbox, then click update.
In data driven web sites, users are normally allowed to view data and administrators are allowed to add, edit or delete data.Please keep in mind that there are many different ways to update the database using the Grid View control depending on the type of data you are updating and the functionality the user need and there are many solutions to achieve the same end result.