DataView dv =(DataView) ObjectDataSource2.Select(); String st = ""; DataTable tb = dv.Table; if (tb.Rows.Count > 0) { //assigning QUOTATION_NUMBER from table to st st = tb.Rows[0]["QUOTATION_NUMBER"].ToString(); } ReportViewer1.LocalReport.DisplayName = st;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)