When should you use Page.DataBind() versus Control.DataBind()?

Viewed 17989

In ASP.NET, you can bind controls individually (i.e. GridView1.DataBind()) or you can call Page.DataBind() to bind all controls on the page.

Is there any specific difference between the two calls? Are there times when one should be preferred over the other?

4 Answers
Related