c# - Inserting Data to a particular section in crystal report VS2010 -
i developing marks card college consists of student name, student rollnum, subject name subject code , marks of respective subject scored student. have database has definition shown below :
name |roll num |subjectcode |subjectname |marks std_name 1001 phy physics 65 std_name 1001 che chemistry 59 std_name 1001 math mathematics 69
from above table, want subjectcode, subjectname , marks datatable/dataset/datagrid , insert data particular section(section 1,section 2,..etc) in crystal report. how can achieve this? thank you.
you should learn more
how create crystal report dataset?
inserting fields in section not big issue. need create dataset or datatable , reference crystal report. after designing report can pass dataset object crystal report data.
you should learn each section , role.
report header: section printed @ top of first page of report. can put here company name, address etc. should not come on next page.
page header: section printed @ top of each page of report. can put page number, column header labels (subject code, subject name, marks, etc).
detail section: section print records in row form. so, can put here fields so, values displayed want.
page footer , report footer: these sections self descriptive after understanding above two. in report footer section can put comments should printed @ bottom of last page , in page footer section can put sum of values total marks, total out of marks, etc. can put these fields in report footer section if there multiple pages printed , wanted print total on last page.
there section type group header , group footer. when want display record group wise , header , footer should printed group wise can use section here.
Comments
Post a Comment