ModelDataSource.UpdateProperties Method (String, String, String, String, String, String)

.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 required properties for two-way data binding.

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

public void UpdateProperties(
	string modelTypeName,
	string selectMethod,
	string updateMethod,
	string insertMethod,
	string deleteMethod,
	string dataKeyName
)

Parameters

modelTypeName
Type: System.String

The name of the model type.

selectMethod
Type: System.String

The name of the select method.

updateMethod
Type: System.String

The name of the update method.

insertMethod
Type: System.String

The name of the insert method.

deleteMethod
Type: System.String

The name of the delete method.

dataKeyName
Type: System.String

The data key name.

.NET Framework
Available since 4.5
Return to top
Show: