THanks Brian.
But i have one doubt, what is 'var' in the bracket beside paramname. Becoz i tried that, but its giving error.
FYI, i have declared one string variable in which i m taking the value of dropdownbox like,
string abc = ddlcaste.selecteditem.tostring();
CrystalDecisions.CrystalReports.Engine.ReportDocument obj1 = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
obj1.Load("E:\\Projects\\Oberoi Finance\\Latest_oberoiProject-14-11\\Reports\\castereport.rpt");
obj1.SetParameterValue ("castename", var);
CrystalReportViewer1.ReportSource = obj1;
but here var is giving a compilation error. Please suggest.
Edited by vyasdipti - 18 Nov 2008 at 2:20am