AutoFieldsGenerator::CreateAutoGeneratedFields Method (Object^, Control^)
.NET Framework (current version)
When implemented in a derived class, creates autogenerated fields based on the current data item.
Assembly: System.Web (in System.Web.dll)
public: virtual List<AutoGeneratedField^>^ CreateAutoGeneratedFields( Object^ dataItem, Control^ control ) abstract
Parameters
- dataItem
-
Type:
System::Object^
The current data item.
- control
-
Type:
System.Web.UI::Control^
The data-bound control that will contain the autogenerated fields.
This method typically populates the AutoGeneratedFieldProperties collection.
.NET Framework
Available since 4.5
Available since 4.5
Show: