I
Ian
Hiya,
Hope this isn't too stupid a question
I can bind an objectdatasource to a gridview very easily (and there's a
thousand tutorials of this on the net).
BUT!
I just want to get at the data so I can say put it in a label.text, or
similar. I've set an objectdatasource up that gets one record from my table,
representing a customer, and I just want to for example to display the
customer name somewhere on the page (other than via a gridview). I think I
was hoping for some sort of MyObjectDataSource.Table property so that I
could start getting at the returned values.
Please help! I'm sure it's ridiculously easy but it's not obvious to little
old me who until now thought .net 2 was looking oh so shiny.
Thanks a lot!
Ian
Hope this isn't too stupid a question
I can bind an objectdatasource to a gridview very easily (and there's a
thousand tutorials of this on the net).
BUT!
I just want to get at the data so I can say put it in a label.text, or
similar. I've set an objectdatasource up that gets one record from my table,
representing a customer, and I just want to for example to display the
customer name somewhere on the page (other than via a gridview). I think I
was hoping for some sort of MyObjectDataSource.Table property so that I
could start getting at the returned values.
Please help! I'm sure it's ridiculously easy but it's not obvious to little
old me who until now thought .net 2 was looking oh so shiny.
Thanks a lot!
Ian