MetaTable::GetDataKeyFromRoute Method ()
.NET Framework (current version)
Retrieves the primary key of the entity from the route values.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Return Value
Type: System.Web.UI.WebControls::DataKey^The primary-key values of the entities, if they are found; otherwise, null.
The route values typically come from the request URL query string.
.NET Framework
Available since 4.0
Available since 4.0
Show: