Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter Passing to get records from SQL and CR.NET 2003

Status
Not open for further replies.

skarra

Programmer
May 24, 2004
5
US
Guys,

I would appreciate if you can help me regd this matter.

-----------------

I have to search in the DB to get appropriate records as reports. For that purpose, I am using 2 different fields in the DB. One is a ID (Primary, Not Null) which is INT and another is the name which is string.

It is upon the user to select either one of the values and not both.. I want to pass that value from the windows form in C# to CR to get me the reports. How can i do this? What do i have to write?

My approach:

I am trying to create 2 parameters in CR for both these fields. But i can send only one from the form. so what formuale should i write in the parameter section ????


I am using C#.NET 2003, SQL server as DB and CR.NET which comes along with the VS.NET 2003.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top