
20/06/2009, 17:43
|
 | | | Fecha de Ingreso: enero-2009 Ubicación: San Luis
Mensajes: 22
Antigüedad: 16 años, 2 meses Puntos: 1 | |
Respuesta: problemas con crystal y parametros en c# ya lo solucione tenia que solo cambiar el orden de las sentencias el codigo quedo asi:
Código:
CrystalReport1 mipres = new CrystalReport1();
report1 tb = new report1();
DataSet ds = tb.DevuelveDataSet();
mipres.SetDataSource(ds);
crystalReportViewer1.ReportSource = mipres;
mipres.SetParameterValue(7, f_principal.codp);
mipres.SetParameterValue(0, f_principal.descp);
mipres.SetParameterValue(1, f_principal.fecha);
mipres.SetParameterValue(2, f_principal.apellido +" "+ f_principal.nombre);
mipres.SetParameterValue(3, f_principal.obras);
mipres.SetParameterValue(4, f_principal.desc);
mipres.SetParameterValue(5, f_principal.total);
mipres.SetParameterValue(6, f_principal.afil);
|