I want to change the data type in a dataset so that it shows in the report of type number is in crystal reports and c #, this has a dataset in c # but when I click it in the crystal it only gives me the fields in chain format and I need in number for some summations that the report makes, some way of changing the data types can be done directly in the code of the query:
SqlDataAdapter da = new SqlDataAdapter(cmd);
//a.CFECHA between '"+Program.strFechaIn+"' and '"+Program.strFechaFi+"' and
Reportes Ds = new Reportes();
da.Fill(Ds, "Reportes1");
Reportes.SetDataSource(Ds);
this.crystalReportViewer1.ReportSource = Reportes;