UpdateModel Method
TOC
Collapse the table of content
Expand the table of content

Page.UpdateModel Method

.NET Framework (current version)
 

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:
© 2016 Microsoft