Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnCreatingModelDataSource Method

DataBoundControl.OnCreatingModelDataSource Method

.NET Framework 4.6 and 4.5

Raises the CreatingModelDataSource event.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected virtual void OnCreatingModelDataSource(
	CreatingModelDataSourceEventArgs e


Type: System.Web.UI.WebControls.CreatingModelDataSourceEventArgs

An object that provides access to the ModelDataSource object that is being created.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft