SqlConnection con = new SqlConnection(@"server=.\Mssql2008;database=Nosazi Madares;integrated security=true"); DataView dv = new DataView(); DataSet ds = new DataSet(); SqlDataAdapter da; con.Open(); da = new SqlDataAdapter("select * from Tblnews", con); da.Fill(ds, "Tblnews"); dv.Table = ds.Tables["Tblnews"]; crystalReportViewer1.ReportSource = dv;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)