R
Rob R. Ainscough
I'm trying to retrieve a value I placed in a grid view column that is set to
NOT visible. Now when I try to retrieve the value of the non visible column
using:
gv_Units is the GridView control
Dim gvRow As GridViewRow
For Each gvRow In gv_Units.Rows
Dim someValue as string = gvRow.Cells(6).Text
Next gvRow
If column 6 is not visible SomeValue = ""
If column 6 is visible SomeValue = "myvalue"
Is this a known bug with GridView? Please tell me this is NOT a "design
feature". Any workarounds?
Thanks, Rob.
NOT visible. Now when I try to retrieve the value of the non visible column
using:
gv_Units is the GridView control
Dim gvRow As GridViewRow
For Each gvRow In gv_Units.Rows
Dim someValue as string = gvRow.Cells(6).Text
Next gvRow
If column 6 is not visible SomeValue = ""
If column 6 is visible SomeValue = "myvalue"
Is this a known bug with GridView? Please tell me this is NOT a "design
feature". Any workarounds?
Thanks, Rob.