I am currently making a Grade Slip System for my School.
I am using VB.NET 2005 Standard Edition , SQL SERVER 2005 Express Edition.
I need help on printing the grade slips of students.
How am I gonna approach this?
I used RDLC files. (Add New Item>Report)
to view the file, I used ReportViewer.
I think this is the wrong way of doing it. isn't it?
In RDLC, The Textboxes is fixed on one datasource.
i.e.
Text1 always displays Fname.
I can't stick to that because in every StudID, it has one Fname and many Grades. And in 1(one) RDLC, It uses 2 tables.(although I can do it) But The Dataset in which the RDLC is bound, is fixed. I cant manipulate the dataset used. Kindly please point me to other approach. I am having difficulties using this method.
i.e.
How am I gonna approach this?
I also tried hardcoding.
i.e.
inside PrintDocument_Printpage:
e.Graphics.DrawString(etc.,etc.,etc.)
But is there any options that I can use to make it easier?
Any reply would be much Appreciated!
Thank you!
I am using VB.NET 2005 Standard Edition , SQL SERVER 2005 Express Edition.
I need help on printing the grade slips of students.
How am I gonna approach this?
I used RDLC files. (Add New Item>Report)
to view the file, I used ReportViewer.
I think this is the wrong way of doing it. isn't it?
VB.NET:
My tables are:
---------------------------------------------------------
* [B]tblStudents[/B]
includes:
StudID,Fname,Lname,MI
---------------------------------------------------------
* [B]tblGrades[/B]
includes:
StudID,SubjectCode,Grade
In RDLC, The Textboxes is fixed on one datasource.
i.e.
Text1 always displays Fname.
I can't stick to that because in every StudID, it has one Fname and many Grades. And in 1(one) RDLC, It uses 2 tables.(although I can do it) But The Dataset in which the RDLC is bound, is fixed. I cant manipulate the dataset used. Kindly please point me to other approach. I am having difficulties using this method.
i.e.
VB.NET:
---------------------------------------------------------
--GradeSlip--
StudID: 3052
Fname: Eric
Lname: Gonzales
SubjectCode: ENG111-1 Grade: 2.50
SubjectCode: HU111-1 Grade: 2.25
SubjectCode: GE213-1 Grade: 3.00
SubjectCode: ST109-1 Grade: 1.25
SubjectCode: PE1-1 Grade: 2.00
----------------------------------------------------------
How am I gonna approach this?
I also tried hardcoding.
i.e.
inside PrintDocument_Printpage:
e.Graphics.DrawString(etc.,etc.,etc.)
But is there any options that I can use to make it easier?
Any reply would be much Appreciated!
Thank you!