locked
passing parameter to Crystal Report RRS feed

  • Question

  •  
    how to pass a parameter in ASP.NET to Crystal Report.

    for example i have Crystal Report for Members Table (in SQL Server).
    i want pass a parameter to it in runtime in order to only generate for those members e.g. that their id is less than 50,000; something similar to this SQL query:

    select * from members where id < 50000 
    for example i want a TextBox in .aspx (e.g. generate_report.aspx) that get the parameter and pass it to Crystal Report then Crystal Report generate report base on it.

    i am using Visual Studio 2005 and .net 2.0
    Wednesday, December 24, 2008 10:24 AM

Answers