DataTable.EndInit Method

Definition

Ends the initialization of a DataTable that is used on a form or used by another component. The initialization occurs at run time.

public virtual void EndInit ();

Remarks

The Visual Studio .NET design environment uses this method to end the initialization of a component that is used on a form or used by another component. The BeginInit method starts the initialization. Using the BeginInit and EndInit methods prevents the control from being used before it is fully initialized.