![]() |
| |||||||
| Sponsored Links |
![]() | « Previous Thread | Next Thread » |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| ||||
| ||||
| Hi guys i'm going to be re-writing and classic asp application to .Net, now one of the functions takes a report and displays it on the comapnys letterhead i.e. the page has a header and footer, and this page prints out perfectly on a A4 page. If the report is longer than an A4 page, it will split the report on to 2 pages. How i've worked this out is by counting the number of lines per report and splitting it up every 30 or so lines. Is there a better way to do this in .Net? Shem |
| Sponsored Links |
|
#2
| |||
| |||
| are you using some kind of report object? Maybe the object has some kind of function for that? |
|
#3
| ||||
| ||||
| no i'm not, built the functions myself. basically all i do is count number of lines, when i reach a certain amount of lines i just add a footer, then add a header and then loop through the rest of the results until again it reaches a certain amount of lines and so the whole process continues. Shem |
|
#4
| ||||
| ||||
| Since we're talking .net...you should take advantage of report objects. See this: Reports Web Site : The Official Microsoft ASP.NET Site
__________________ jmurrayhead If you agree with me... click the icon! If my post solved your problem, click the button in the lower right-hand corner of the post.Join our Folding team: DeveloperBarn Folding |
| The Following User Says Thank You to jmurrayhead For This Useful Post: | ||
Shem (June 23rd, 2008) | ||
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| format currency to display by thousands | Rebelle | ASP Development | 2 | April 29th, 2008 10:32 PM |