Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pasar parametros de una plicacion c# a crystal report

2,329 views
Skip to first unread message

Fernando M.

unread,
Oct 17, 2007, 12:41:48 PM10/17/07
to
HOLA A TODOS:

ME PUEDEN DECIR COMO PUEDO PASAR TRES PARAMETROS A UN REPORTE DE CRYSTAL
REPORT DE UNA PLICACION HECHA EN C#.NET 2005.

TENGO EL SIGUIENTE CODIGO :

parmValue.Value = p.cod;

parmfield.Name = "Tipo_audi";

parmfield.CurrentValues.Add(parmValue);

parmfields.Add(parmfield);

crystalReportViewer1.ReportSource = reporte;

crystalReportViewer1.ParameterFieldInfo = parmfields;

EN EL CODIGO SOLO ENVIO UN PARAMETRO PERO ME FALTAN DOS MAS.

GRACIAS POR LA AYUDA DE ANTEMANO


elo.g...@gmail.com

unread,
Jul 10, 2013, 2:45:15 PM7/10/13
to
ReportDocument cryRpt = new ReportDocument();
//CrystalReportViewer CRV = new CrystalReportViewer();

cryRpt.Load(@"..\..\Reportes\represtestautodescriptivo.rpt");

cryRpt.SetParameterValue("idevaluado", idevaluado);
cryRpt.SetParameterValue("idfolio", folio);

CRV.ReportSource = cryRpt;
CRV.Refresh();
0 new messages