473,480 Members | 2,351 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Crystal report using c# and asp.net

366 Contributor
hi,

i am using crystalreports in my project(asp.net and c#.net) .i am able to display complete data from the data base on to the report .but i want to filter the data depending on particular criteria what is the procedure i have to follow.

My report contains 10 fields Id,location,message,date,time,..so on now i am able to display the complete data i.e what ever the data exist in the database irespective of date or id .now i want to filter my data depending on date or id.
for that i want to add two text boxes on my webform and two check boxes corresponding ,when ever i check the checktbox related to date text box and i enter the date then i should get data fields related to that particular date only similarly if enter id in the other text box then ishould get the data related to that particular id on all dates on the report, this should be done at the run time .


plz help any one

thanks &regards
nmsreddi
Aug 8 '06 #1
3 13165
bhar
37 New Member
Hi,

Refer this Title:"Database programming using vb.net and sql server 2000". this book covers the development of the reports using crystal reports.

Regards
bhar

hi,

i am using crystalreports in my project(asp.net and c#.net) .i am able to display complete data from the data base on to the report .but i want to filter the data depending on particular criteria what is the procedure i have to follow.

My report contains 10 fields Id,location,message,date,time,..so on now i am able to display the complete data i.e what ever the data exist in the database irespective of date or id .now i want to filter my data depending on date or id.
for that i want to add two text boxes on my webform and two check boxes corresponding ,when ever i check the checktbox related to date text box and i enter the date then i should get data fields related to that particular date only similarly if enter id in the other text box then ishould get the data related to that particular id on all dates on the report, this should be done at the run time .


plz help any one

thanks &regards
nmsreddi
Aug 8 '06 #2
JohnPabbathi
1 New Member
Hi Reddi,

Can you please let me know how u are able to view the report on the webform. I am new into the .NET development.

Please conatct me on pjohnignatius@gmail.com


hi,

i am using crystalreports in my project(asp.net and c#.net) .i am able to display complete data from the data base on to the report .but i want to filter the data depending on particular criteria what is the procedure i have to follow.

My report contains 10 fields Id,location,message,date,time,..so on now i am able to display the complete data i.e what ever the data exist in the database irespective of date or id .now i want to filter my data depending on date or id.
for that i want to add two text boxes on my webform and two check boxes corresponding ,when ever i check the checktbox related to date text box and i enter the date then i should get data fields related to that particular date only similarly if enter id in the other text box then ishould get the data related to that particular id on all dates on the report, this should be done at the run time .


plz help any one

thanks &regards
nmsreddi
Jan 16 '07 #3
digitalmanic
24 New Member
Reddi,

Create a dataset depending on your criteria (.xsd files) and give it as the datasource of your crystal report.


Ambika Praveen.
Jan 16 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
19119
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
1
7877
by: Chris Neal | last post by:
I recenetly purchased VB.net standard and in the box was a card saying that it included crystal reports (as it always used to) but I cannot find CR in the templates or in the toolbox. Can anyone...
7
3959
by: Phin | last post by:
I need your HELP! I've seen all the posts on using Crystal Reports within vs.net (vb.net) and changing a SQL query at runtime. When I tried to pass in a dataset into the crystal report at...
1
2767
by: rdshultz | last post by:
My company is going to a new software were I have to learn Crystal Reports. Had my first class and I'm a little confused. The instructor said everytime you run a Crystal report you have to do a...
2
3866
by: Karun Karunakaran | last post by:
Hi, I am using the Crystal Enterprise .NET assemblies to generate and display a crystal report in a webform. This report connects to an SQL server (running locally) using a specific username and...
19
3844
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set...
0
1663
by: Ray | last post by:
Dear all, I have some questions about the Crystal Report and vb.net 2003. 1. I have installed the crystal report 10 and vs.net 2003. Should I update the crystal report within the vb.net so as to...
3
9162
by: FeveZ | last post by:
I've been stuck on a problem now for ages and i'm about ready to pack my project in because of it lol. OK here is my scenario. I have an existing Crystal Report, which I have added to my...
9
8225
by: Altman | last post by:
I am currently using ASP.Net 2003 and will be upgrading to 2005 sometime in the near future. I have been having issues with using Crystal Reports that were included with .Net to handle my...
3
3794
by: Miro | last post by:
Hi, Just wondering what a good book is on visual studios 2008 ( or 2005 if no 2008 ) that teaches you how to properly use crystal reports with it. Or im assuming that as long as I can create a...
0
7048
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6911
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7050
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6743
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6966
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5344
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2999
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.