ObjectDataSourceDesigner.TypeName Property


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

Gets or sets the name of the type that contains the methods that are specified in the associated control.

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

public string TypeName { get; set; }

Property Value

Type: System.String

A string containing the name of the type that contains the methods that perform the Delete, Insert, Select, and Update database operations specified in the associated ObjectDataSource.

The TypeName property shadows the TypeName property of the associated control.

When the value of the TypeName property is changed, the design-time markup for the associated ObjectDataSource control is updated. The RefreshSchema method is called, if the CanRefreshSchema property is true; otherwise, the DataSourceChanged event is raised.

.NET Framework
Available since 2.0
Return to top