QueryableDataSourceView.InsertObject Method (Object)

.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.

Inserts data objects into a QueryableDataSourceView object.

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

protected virtual int InsertObject(
	object newEntity
)

Parameters

newEntity
Type: System.Object

The data object to insert.

Return Value

Type: System.Int32

The number of objects that were inserted into the data source view.

.NET Framework
Available since 4.0
Return to top
Show: