I am binding a GridView using a DataSource in asp.net, and I would like to have some hidden BoundFields so that I can access these values ββin my RowDataBound function. However, when I set Visible = "False" to these BoundFields, the values ββare not set and always remain empty in the RowDataBound function.
Is there any way to do this? I saw some suggestions for setting the style on BoundField for hiding, but that didn't work for me either. Ideally, I donβt even need a column created in gridview, I just want these values ββto be hidden, so I can access them. Thank!
source
share