How can I access presentation layer controls (Cristal report viewer control) in Business logic layer.
Eg;
public ReportDocument showObj(object asd,string reportName)
{
Form asw = (Form)asd;
string sPath;
sPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
sPath = sPath +
//cr.Load(sPath);
//cr.SetDatabaseLogon(
return cr;
}
Thse function is written in the business logic layer. Here, how can i access the presentation layer's control name?
(suppose in presentation layer -> objFrmReportviewer.crv.ReportSource="")
Advance Thanks.
Jimish