I am using .Net 2005. I have a ASP.Net webform that contains a DetailsView that is bound to a ObjectDataSource. The data in the DetailsView displays correctly when the webform is rendered. However, how can I access a value from a field in the DetailsView? For example, I want to know the value of one of the fields in the DetailsView, how to I reference this field?
The closest I get is being able to read the labels in the DetailsView with the following:
this.DetailsView1.Fields[0].ToString();
How can I access a field in the DetailsView?
Thanks,
Jerry
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only