passing dataset to webusercontrol
Date: 01/23/08
(Asp Dot Net) Keywords: web
I have a webusercontrol with a repeater on it.
I'd like to pass a dataset to the webusercontrol and then have the usercontrol bind the dataset to the repeater.
Should I do this using the set method ?
EG: public DataSet SearchResults { set { //bind the dataset here SearchResultsRepeater.DataSource = SearchResults; SearchResultsRepeater.DataBind(); } }
Source: http://community.livejournal.com/aspdotnet/94669.html
|