Muokkaa

Jaa


DynamicDataRoute.ViewName Property

Definition

Gets or sets the name of the .aspx page that is associated with a route.

public:
 property System::String ^ ViewName { System::String ^ get(); void set(System::String ^ value); };
public string ViewName { get; set; }
member this.ViewName : string with get, set
Public Property ViewName As String

Property Value

The name of the .aspx page that is associated with the route. If no page is specified for the route, the property returns the value of the Action property with ".aspx" appended to it.

Remarks

Dynamic data uses several standard .aspx page names to create the UI to let users view, update, and delete data from a given table. These page names include List.aspx, Details.aspx, Edit.aspx, Insert.aspx, and ListDetails.aspx. The ViewName property specifies which of these pages should be used for a given table and action.

Applies to