datagrid updatecommand event args does not recieve updated information 
Author Message
 datagrid updatecommand event args does not recieve updated information

I use this sample straight from MS and it doesn't work...
Can someone please tell me why.. I get the data from the
textbox correctly but the data does not reflect any
changes I've made...Why???

code for grid_updatecommand event

        'extract the key field from the datakeys collection
        Dim intAmenityID As Integer = grdAmenity.DataKeys
(e.Item.ItemIndex)
        'extract the cell from the cells collection
        Dim objCell As TableCell = e.Item.Cells(1)
        ' The TextBox is the 0th element of the Controls
collection.
        Dim objBox As TextBox = CType(objCell.Controls(0),
TextBox)
        ' Extract the quantity from the box.
        Dim strDescription As String = objBox.Text



Sun, 19 Sep 2004 08:41:17 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. MSComm does not recieve data when Hyper Terminal recieves data OK

2. Grid update sqldataadapter dataset UpdateCommand Object Reference

3. not to auto update while doing addnew

4. Deleted recordd do not updated to the DB when reconnecting and doing updatebatch

5. DoEvents not doing any events

6. MCI Control Gets Into a Tizzy - Done Events Not Being Generated

7. Do Not Show Update Linked Information Box

8. JScript Optional recset.Open optional args error ( few args )

9. How to get header information of recieved letter in outlook express

10. Recieve information from scanner

11. Any way to update args.Value?

12. datagrid row update when not visible in the grid

 

 
Powered by phpBB® Forum Software