共用方式為


Form.Action 屬性

定義

取得或設定表單提交的網址。 預設值是空字串 ("")。 這個 API 已經過時了。 如需如何開發 ASP.NET 行動應用程式的詳細資訊,請參閱 Mobile Apps & Sites with ASP.NET

public:
 property System::String ^ Action { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string Action { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Action : string with get, set
Public Property Action As String

屬性值

表單提交的網址。

屬性

備註

預設值為空字串(“”),會使回傳至包含當前表單的頁面。 你可以覆寫預設值,將表單提交到不同的網址。

備註

Action 該屬性被繼承 Command ,控制項會發布內容至繼承的 URL。

適用於

另請參閱