Get value gridview rowupdating event
Here is some code: new to .net, need help setting db values from checkbox's then retrieving value to a label control Hi, Being new to i know this possible i just can't quite get it right!I need a page with 5 checkbox's that when submitted sets the bit values in DB fields to checked. After I click the update button, I change the value to 150. My gridview is not bound to a Sql Datasource or Object Datasource. Thanks The currency manager is in Windows Forms programming. My hunch is that the Sql Data Source and Object Data Source has provisions to tie into an update method/stored procedure. Text); Unfortunately, it looks like I'm getting the value prior to the edit. Let's say the column value is 15 before I click the update button. To String() also, but that might have got me a blank string instead. If you find a solution, or if the above helps, please let me know.How can I get the ID value when I click the update button of a row? To String())Johan Theunissen MCPD, MCSE, MCTS Biz Talk 2006==============================Please mark the most helpful reply/replies as "Answer". When you click Edit on the Child Grid View I have a Template Field that has a Text Box. Grid View Parent-- Grid View Child (Edit - Template Field containing this Grid View Child)----- Text Box inside Template Field in Grid View Child. Peace in Christ Marco Napoli you can do as a solution is to override the Row Data Bound and try to find the child Grid View control. Accessing values of controls within a repeater in the Row Updating event of Grid View I have a Grid View with a list of users.Johan Theunissen MCPD, MCSE, MCTS Biz Talk 2006==============================Please mark the most helpful reply/replies as "Answer". Within that Grid View is a Template Field that--in edit mode--contains a Repeater that lists all the available roles in my application as checkboxes.this is the start of my code behind, the row index works perfectly, ...How to get gridview values from Row Updating method I have a gridview with the select & edit commands enabled.
In my initialize, I try to set the value of the Text Box1 c...
there is a bound field with the product id, a template field (with a table and a load of labels which are bound to the product details via an sql data source and gridviewrowdatabound) and a buttonfield which is the add to cart button.
i am calling the rowcommand with the button field and need to get the product id from the boundfield and the quantity from a text box in the template field and write them to my data grid.
I'd like to know if there are any other ways to retrieve the new values?
I have been using the names of the actual controls but nothing happens.