DynamicDataRoute.ViewName 屬性

定義

取得或設定與路徑相關聯的 .aspx 頁面名稱。

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

屬性值

與路徑相關聯的 .aspx 頁面名稱。 如果未指定路徑的頁面,這個屬性會以頁面後面加上 ".aspx" 的方式傳回 Action 屬性的值。

備註

動態資料會使用數個標準 .aspx 頁面名稱來建立 UI,讓使用者檢視、更新和刪除指定資料表中的資料。 這些頁面名稱包括 List.aspx、Details.aspx、Edit.aspx、Insert.aspx 和 ListDetails.aspx。 屬性 ViewName 會指定哪些頁面應該用於指定的資料表和動作。

適用於