updating BoundColumns Question

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top