DetailsView.CreateRow Method
.NET Framework 3.0
Creates a DetailsViewRow object using the specified item index, row type, and row state.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
protected: virtual DetailsViewRow^ CreateRow ( int rowIndex, DataControlRowType rowType, DataControlRowState rowState )
protected DetailsViewRow CreateRow ( int rowIndex, DataControlRowType rowType, DataControlRowState rowState )
protected function CreateRow ( rowIndex : int, rowType : DataControlRowType, rowState : DataControlRowState ) : DetailsViewRow
Not applicable.
Parameters
- rowIndex
The zero-based index of the data item to display.
- rowType
One of the DataControlRowType values.
- rowState
One of the DataControlRowState values.
Return Value
A DetailsViewRow with the specified item index, row type, and row state.The CreateRow method is a helper method called by the DetailsView control to create a DetailsViewRow object.
Notes to Inheritors: When extending the DetailsView class, you can override this method to return a DetailsViewRow object with custom settings.Community Additions
ADD
Show: