I have never used any of the datasource objects in my aspx pages. I set the datasource for a gridview and databind() in the page's code behind. I am looking at some samples which use a sqldatasource and datasourceid in a gridview.
My question is when a sqldatasource is used as a data source for a gridview, does the databinding happen in page's init lifecycle? Is it the same as setting the datasource and databind in init event when not using a sqldatasource?
DataBindingevent in the life-cycle, so that's when it would get bound (so no, not the same). - McGarnagle