Page.UpdateModel Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Updates the specified model instance using values from a value provider.

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

NameDescription
System_CAPS_pubmethodUpdateModel<TModel>(TModel)

Updates the specified model instance using values from the data-bound control.

System_CAPS_pubmethodUpdateModel<TModel>(TModel, IValueProvider)

Updates the specified model instance using values from a specified value provider.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Return to top
Show: