FormViewRow.RowType Özellik

Tanım

Nesnenin satır türünü FormViewRow alır.

public:
 virtual property System::Web::UI::WebControls::DataControlRowType RowType { System::Web::UI::WebControls::DataControlRowType get(); };
public virtual System.Web.UI.WebControls.DataControlRowType RowType { get; }
member this.RowType : System.Web.UI.WebControls.DataControlRowType
Public Overridable ReadOnly Property RowType As DataControlRowType

Özellik Değeri

Değerlerden DataControlRowType biri.

Açıklamalar

nesnesinin RowType temsil ettiği satır FormViewRow türünü belirlemek için özelliğini kullanın. Aşağıdaki tabloda farklı satır türü değerleri listelemektedir.

Satır türü Açıklama
DataControlRowType.DataRow Denetimdeki FormView veri satırı.
DataControlRowType.EmptyDataRow Denetimdeki FormView boş veri satırı. Görüntülenecek kayıt olmadığında boş veri satırı bir FormView denetimde görüntülenir.
DataControlRowType.Footer Denetimdeki FormView alt bilgi satırı.
DataControlRowType.Header Denetimdeki FormView üst bilgi satırı.
DataControlRowType.Pager Denetimde FormView bir çağrı satırı.
DataControlRowType.Separator Denetimde FormView ayırıcı satır.

Bu özellik genellikle bir işlemi gerçekleştirmeden önce satırın türünü belirlemek için kullanılır.

Şunlara uygulanır

Ayrıca bkz.