Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/06/2009, 17:43
Avatar de JHB
JHB
 
Fecha de Ingreso: enero-2009
Ubicación: San Luis
Mensajes: 22
Antigüedad: 15 años, 4 meses
Puntos: 1
De acuerdo 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);