Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataGrid.CreateItem Method

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[Visual Basic]
Protected Overridable Function CreateItem( _
   ByVal itemIndex As Integer, _
   ByVal dataSourceIndex As Integer, _
   ByVal itemType As ListItemType _
) As DataGridItem
[C#]
protected virtual DataGridItem CreateItem(
 int itemIndex,
 int dataSourceIndex,
 ListItemType itemType
);
[C++]
protected: virtual DataGridItem* CreateItem(
 int itemIndex,
 int dataSourceIndex,
 ListItemType itemType
);
[JScript]
protected function CreateItem(
   itemIndex : int,
 dataSourceIndex : int,
 itemType : ListItemType
) : DataGridItem;

See Also

DataGrid Class | DataGrid Members | System.Web.UI.WebControls Namespace

Show:
© 2015 Microsoft