ADMSDataSetTableAdapters.pwl_detailsTableAdapter adapter = new ADMSDataSetTableAdapters.pwl_detailsTableAdapter(); ADMSDataSet.pwl_detailsDataTable table = new ADMSDataSet.pwl_detailsDataTable(); adapter.FillByCity(table,textbox1.text); ReportDataSource MyNewDataSouce = new ReportDataSource("Warehouse_DataSet", (DataTable)table); this.reportViewer1.LocalReport.DataSources.Clear(); this.reportViewer1.LocalReport.DataSources.Add(MyNewDataSouce); this.reportViewer1.LocalReport.Refresh(); this.reportViewer1.RefreshReport();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)