Part 2: Programming Crystal Reports with ASP.NET 2.0: working with parameters

Hello guys,
 
My latest article focusing on Programming with Crystal Reports with ASP.NET 2.0 (part 2) got published here http://www.aspfree.com/c/a/ASP.NET/Working-with-Parameters-with-Crystal-Reports-and-ASP-NET-2-0/
 
enjoy and let me know the feedback.
 
Thanks
Jag 

About Jag

.NET Architect
This entry was posted in ASP.NET and tagged , . Bookmark the permalink.

6 Responses to Part 2: Programming Crystal Reports with ASP.NET 2.0: working with parameters

  1. Kulveer says:

    You are helping .NET community a lot. Keep up the good work.  I hope to see more of ASP 2.0 articles and something on Content Mgt System (not as complicated as dotNetNuke). 

  2. Hani says:

    Dear Mr. Jagadish,
    Thank you very much for your very nice articles
    Actually you are solving a lot of problems which we were looking for solutions long time.
    Please, regarding to "using parameter with crystal reports ", I hope you just to explain how to make master details pages in ASP.net where the master page is a grid view (for example) containing the employee names and the details page is a crystal report containing the selected employee profile (using querystring parameter "I think so").
    If not then just how to use querystring parameter in the crystal report
    Thank you very much
    Warm regards
    Hani
     

  3. Abie says:

    hi jagadish,
    Thanx for the article… and i got some doubts too… now i\’m in a project which is using ASP.Net 2 and SQL Server 2005. My problem is, there is lot of parameters to pass to the report .. its only to show in the report. i can ge you one example, in one of my form there is an ption for selecting "From Date" , "To Date", "From Time" , "To Time", Call Mode (which taken from \’Radio Buttons\’), Call Type (Using \’Check Boxes list\’) and \’comany Lists\’ (Check Box Lists). I can manage all the above things in different variables.. no problem. from the stored procedure i can retrive the data too.  but in the report i just want to shw what the user selected as a heading. some days before i did one project exactly the same but only difference is i used Oracle 10g as backend. there i gave like "rpt.SetParameterValue("@FromDate", TextBox2.Text)" .. and tha was workin fine. can u help me to find out is there any option to give like this. actually i\’m very much new to this system…… please help me……

  4. tushar says:

    Hi jagdish sir ,
    thank for such best article ,
          i have one doubts in this article  how we pass the  multiple parameter values to crystal report on one button click event i.e
    how we pass the  "fromdate" ,"todate" ,"city",& "state" parameter " to crystal report on single button click event plaese reply me .

  5. tushar says:

    hi jagdish sir ,
          thanx for  such nice article ,
              but i have one doubt in this article ,how we  pass the multiple value to crystal report  on one button click event
    i.e how we pass the "formdate","todate","city","state" on one button click event . just explain me .

  6. Jagadish says:

    You can proceed creating more objects related to ParamField as follows:
     
    Dim ParamFields As ParameterFields = Me.CrystalReportViewer1.ParameterFieldInfo
        Dim p_EmpID As New ParameterField
        Dim p_Date As New ParameterField
    etc.
        ParamFields.Add(p_EmpID)
        ParamFields.Add(p_Date)

Comments are closed.