public ReportContainer(string fileName, string spName) { InitializeComponent(); this.reportName = ApplicationPath.GetFullPath(@"Views\Reports\" + fileName); this.StoredProcedureName = spName; data = null; }
public ReportContainer(string filename, DataSet dataset) { InitializeComponent(); this.reportName = ApplicationPath.GetFullPath(@"Views\Reports\" + filename); data = dataset; }