aspxtreme

Control.DataBind Method

System.Web.UI Namespace   Control Class


Binds a data source to the invoked server control and all of its child controls.

[ Visual Basic ]
Overridable Public Sub DataBind ( )

[ C# ]
public virtual void DataBind ( );

[ C++ ]
public: virtual void DataBind ( );

[ JScript ]
public function DataBind ( );

Remarks

Use this method to bind data from a source to a server control. This method is commonly used after retrieving a data set through a database query.

NOTE: When called on a server control, this method resolves all data-binding expressions in the server control and in any of its child controls.

For more information, see DataBinding in Web Forms.

See Also

Control Members



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 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 aspxtreme