private void Data_Binding(string type) { string month = this.TextMonth.Text; string newtype = type; this.ReportViewer1.LocalReport.DataSources.Clear(); this.ReportViewer1.LocalReport.ReportPath = Server.MapPath(@"~/Reports/TJ_IMBalanceTotal.rdlc"); TJDAL dal = new TJDAL(); DataTable dt = dal.Get_BalanceTotal(month, newtype); this.ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("DataSetForTJ_BalanceTotal", dt)); this.ReportViewer1.LocalReport.Refresh(); }