Billing
HI there,
Anyone there?, now i need some thing very urgent please. I have created a school management application . When some one comes for paying the fee ,after the pay the fee i need to generate a bill which holds info regarding the student's name , address , and all details . Please i dont know how to do. Anybody please help me. Very urgent. Thanks in advance
naura paxPosted Oct 29, 2009, 8:24 AM
PLEASE TRY IT AT LEAST ONCE before you give further comments.
Thanks
Sriram RamaniPosted Oct 29, 2009, 8:20 AM
naura paxPosted Oct 29, 2009, 8:06 AM
you've got start from the beginning, learn how to make connection with MS Access, i think you won't stored procedures i don't know about access, maybe you'd use queries, but in any case start working on basics there are plenty of articles available on the net for free.
My suggestion is you break down the application into smaller problems and start working on them one by one.
Talking about what you said above- yes it is possible but no can make you understand until you start working on it.
Sriram RamaniPosted Oct 29, 2009, 7:58 AM
naura paxPosted Oct 29, 2009, 7:12 AM
This dataset will get filled based on your stored procedure which gets fired based on connectionstring... no?? so what extra file are you talking about?
Sriram RamaniPosted Oct 29, 2009, 6:56 AM
naura paxPosted Oct 29, 2009, 5:39 AM
You add Typed DataSet (from right click project-> add new file) in your project.
Create a table structure in it (by opening dataset file in design mode and right clicking).
Add a method in the code behind for dataset that calls your stored procedure
and add tables in your typed set -
DataSet ds=GetData() // your business logic.
TypeDataSet1.Merge(ds.Tables[0]);
and add this type dataset as datasource in your crystal report.
Make sure column name in type dataset and stored procedure select query match exactly (case sensitive).
Sriram RamaniPosted Oct 29, 2009, 5:23 AM
naura paxPosted Oct 29, 2009, 4:39 AM
you can easily do that using crystal report, you can provide a form for selecting (combobox) student name, date (or month) and button on which's click event you can generate a crystal report.
You can set report's printer settings (width, height, landscape etc ) by looking at actual school bills or you can ask client for format.
hope that helps.