DetailsView.SelectedValue Property
.NET Framework 3.0
Gets the data key value of the current record in a DetailsView control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Use the SelectedValue property to determine the data key value for the current record. To retrieve the actual System.Web.UI.WebControls.DataKey object that represents the data key for the record, use the DataKey property.
This property is the default property that a ControlParameter object binds to at run time. For more information, see ControlValuePropertyAttribute, ControlParameter, and ASP.NET Data Source Control Parameters.
Community Additions
ADD
Show: