Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DetailsView object
Message
From
15/09/2006 11:10:51
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
DetailsView object
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01154128
Message ID:
01154128
Views:
57
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
Map
View

Click here to load this message in the networking platform