G
Guest
I have a SqlDataSource bound to DataView control. When the selected index of
the DataView changes I would like to get the value of a field (column) from
the bound Row. The column's visible property is false. I thought I would be
able to handle the selected event of the SqlDataSource and get the Row data,
but there is nothing there.
Where are the SqlDataSourceView items? The DataView's selected item doesn't
have a DataItem, so I can't access the Row. If I show the column I want to
hide, I can access the "Text" of the GridView column, but the text has been
HtmlEncoded. (and either way of course I don't want it in the grid).
Where is the CurrentItem and can it be accessed?
the DataView changes I would like to get the value of a field (column) from
the bound Row. The column's visible property is false. I thought I would be
able to handle the selected event of the SqlDataSource and get the Row data,
but there is nothing there.
Where are the SqlDataSourceView items? The DataView's selected item doesn't
have a DataItem, so I can't access the Row. If I show the column I want to
hide, I can access the "Text" of the GridView column, but the text has been
HtmlEncoded. (and either way of course I don't want it in the grid).
Where is the CurrentItem and can it be accessed?