Extract data from database and print all at a time in the document !

Posted by Kundan254 under C# on 1/9/2012 | Points: 10 | Views : 783 | Status : [Member] | Replies : 2
Hello All....

The problem is this:-

(1) I have a database named student .
(2) In that database, there is one table named stddetails.
(3) There are 5 fields in that table which are id, name, class & totalfees.
(4) Now, i want to extract data from the database depending on the selection of the class of the stddetails table from the conbo box.
(5) Then it should print all the data from that selection like class at a time in a design view like a profile.

Please help in this.let me know !

Thanks and Regards
Kundan

Regards
Kundan



Responses

Posted by: Naraayanan on: 1/9/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

Please follow the below steps:
Step: 1
Crete a Store procedure with Parameter
Step: 2
Create a Crystal report. call that SP(Stored Procedure) in Crystal report

Step: 3
View the crystal report in your form
Step: 4
select a PRINT option in the Crystal report


Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Kundan254, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kundan254 on: 1/10/2012 [Member] Starter | Points: 25

Up
0
Down
Dear Naraayanan.

thanx for your support.
i want to print the details in some design view saperately. suppose if there is 10 data then it should print or generate 10 pages then print it.
Regards
Kundan

Regards
Kundan

Kundan254, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response