in c#.net, how can i set a variable
in c#.net, how can i set a variable.
[code]
try
{
Rapor = new TfrxReportClass();
Rapor.EngineOptions.SilentMode = frxSilentMode.simSilent;
Rapor.SetVariable( "ConStr", cnStr);
Rapor.SetVariable( "IhaleID", IhaleID.ToString());
Rapor.LoadReportFromFile(ReportName);
}
catch (Exception exc)
{
throw exc;
}
finally
{
}
[code]
try
{
Rapor = new TfrxReportClass();
Rapor.EngineOptions.SilentMode = frxSilentMode.simSilent;
Rapor.SetVariable( "ConStr", cnStr);
Rapor.SetVariable( "IhaleID", IhaleID.ToString());
Rapor.LoadReportFromFile(ReportName);
}
catch (Exception exc)
{
throw exc;
}
finally
{
}
Comments
Rapor = new TfrxReportClass();
Rapor.LoadReportFromFile(ReportName);
Rapor.EngineOptions.SilentMode = frxSilentMode.simSilent;
Rapor.SetVariable( "ConStr", cnStr);
Rapor.SetVariable( "IhaleID", IhaleID.ToString());