P
Patirck Ige
I just decided to try updating using BoundColumns on one of my projects 'm
working on..
(I have always been using ITEMTEMPLATE)
I have some Strings "Name and UserID" set below as TextBox which will be
set for the BoundColum on Edit Mode
Dim UserID As String = CType(Args.Item.Cells(0).Controls(0), TextBox).Text
Dim Name As String = CType(Args.Item.Cells(1).Controls(0), TextBox).Text
And on my aspx page
I have both set in the BounDColumn as Visible="True" and it works Good.
But if you set them to FALSE it won't update.Its as if it doesn't see the
textbox when on Edit Mode
But when i printed out the data i could see its ok but doesn't update
Whats the best way to update BoundColumns then?
working on..
(I have always been using ITEMTEMPLATE)
I have some Strings "Name and UserID" set below as TextBox which will be
set for the BoundColum on Edit Mode
Dim UserID As String = CType(Args.Item.Cells(0).Controls(0), TextBox).Text
Dim Name As String = CType(Args.Item.Cells(1).Controls(0), TextBox).Text
And on my aspx page
I have both set in the BounDColumn as Visible="True" and it works Good.
But if you set them to FALSE it won't update.Its as if it doesn't see the
textbox when on Edit Mode
But when i printed out the data i could see its ok but doesn't update
Whats the best way to update BoundColumns then?