Response to: Multiuser problem in Asp.net
Latest Revision
Why can't you use "Rdbtn.SelectedValue" directly in the ViewReport() routine.
if (Rdbtn.SelectedValue == "1")
{
crystalReport.Load(Server.MapPath("sample1.rpt"));
}
else if (Rdbtn.SelectedValue == "2")
{
crystalReport.Load(Server.MapPath("sample2.rpt"));
}
Then another thing we can try is using switch Case; which is a better way to increase the performance.
[Update]: I didnt noticed you have used public static string _print in the code ; whats it for? Some logical mistake is there; I beleive.
Posted 4-Nov-12 23:01pm
by
Baji Jabbar.