Previous Thread

6/19/2006 4:04:09 AM    Re: User control Problem
Hi, 
 
You can specify the datasource of the grid using the following code. 
 
Control ct=WebUserControl11.FindControl("DataGrid1"); 
 
DataGrid dt=(DataGrid)ct; 
 
dt.DataSource=dataSet11; 
 
WebUserControl11.FindControl("DataGrid1").DataBind(); 
 
Thanks 
 
Sharmila 
 
Syncfusion Software 
 
(www.syncfusion.com) 
 
ASP.Net FAQ: 
 
https://www.syncfusion.com/faq/aspnet/default.aspx



6/19/2006 2:39:56 PM    User control Problem
For developing a portal i m using dot net 1.1 framework with VS2003 . 
 
i Have a datagrid on a usercontrol  i m using the control for displaying 
 
data on a page where a dataset is generated . how can i specify the data 
 
source of the grid (on the User control) from page ... 
 
Plz help 
 
Mukesh Agarwal 
 
mukesh@efextra.com