asp.net.ph

ObjectDataSource Class

System.Web.UI.WebControls Namespace


.NET Framework version 2.0

Represents a business object that provides data to data-bound controls in multi-tier Web application architectures.

ObjectDataSource Class Members

Collapse   Constructors

Visibility Constructor Parameters
public ObjectDataSource ( )
public ObjectDataSource ( String typeName , String selectMethod )

Collapse   Properties

Visibility Name Value Type Accessibility
public CacheDuration Int32 [ Get , Set ]
public CacheExpirationPolicy DataSourceCacheExpiry [ Get , Set ]
public CacheKeyDependency String [ Get , Set ]
public ConflictDetection ConflictOptions [ Get , Set ]
public ConvertNullToDBNull Boolean [ Get , Set ]
public DataObjectTypeName String [ Get , Set ]
public DeleteMethod String [ Get , Set ]
public DeleteParameters ParameterCollection [ Get ]
public EnableCaching Boolean [ Get , Set ]
public EnablePaging Boolean [ Get , Set ]
public FilterExpression String [ Get , Set ]
public FilterParameters ParameterCollection [ Get ]
public InsertMethod String [ Get , Set ]
public InsertParameters ParameterCollection [ Get ]
public MaximumRowsParameterName String [ Get , Set ]
public OldValuesParameterFormatString String [ Get , Set ]
public ParsingCulture ParsingCulture [ Get , Set ]
public SelectCountMethod String [ Get , Set ]
public SelectMethod String [ Get , Set ]
public SelectParameters ParameterCollection [ Get ]
public SortParameterName String [ Get , Set ]
public SqlCacheDependency String [ Get , Set ]
public StartRowIndexParameterName String [ Get , Set ]
public TypeName String [ Get , Set ]
public UpdateMethod String [ Get , Set ]
public UpdateParameters ParameterCollection [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public Delete ( ) Int32
protected GetView ( String viewName ) DataSourceView
protected GetViewNames ( ) ICollection
public Insert ( ) Int32
protected LoadViewState ( Object savedState ) Void
protected SaveViewState ( ) Object
public Select ( ) IEnumerable
protected TrackViewState ( ) Void
public Update ( ) Int32

Remarks

For examples illustrating use of this control, see the individual member types of this class. For syntax information, see ObjectDataSource in ASP.NET Syntax for Web Controls.

See Also

ASP.NET Data Source Controls Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph