SqlDataAdapter da = new SqlDataAdapter("select distinct st.EmpNameC, st.Dated,st.ShiftGroupC from ShiftTable as st inner join ClientDeployment as cd on st.EmpCodeC=cd.EmpCodeC where st.dated ='03/Oct/2014' and cd.LocationC='J1' and st.EmpnameC='prasanna'", cnn); DataSet ds = new DataSet(); da.Fill(ds); CryRpt.SetDataSource(ds.Tables[0]); crystalReportViewer1.ReportSource = CryRpt; crystalReportViewer1.Refresh(); // Parameter Value RptDoc.SetParameterValue("date1", "01/10/2014");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)