Hi, I have a question about getting the underlaying datasource from a gridview. I've tried a few things and read some other forums that say you can but I didnt think you could.
I have a Gridview which i give a datasource of a custom object. The object is ExpressCitationList, which is just a List of ExpressCitation objects. I'm trying to retreiving this information and work with it. I've always used the cell collection property and had to hard code the column numbers to match the individual datafield. Is there a way to get ExpressCitation object out of the gridview? Or even the ExpressCitationList?
I've tried the obvious
Thanks for any insight.
I have a Gridview which i give a datasource of a custom object. The object is ExpressCitationList, which is just a List of ExpressCitation objects. I'm trying to retreiving this information and work with it. I've always used the cell collection property and had to hard code the column numbers to match the individual datafield. Is there a way to get ExpressCitation object out of the gridview? Or even the ExpressCitationList?
I've tried the obvious
- expresscitationlist = gridview.datasource
- expresscitation = gridview.row(i).dataitem
Thanks for any insight.