For Programmers: Free Programming Magazines  


Home > Archive > MSDN > January 2005 > why only render to the first page?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author why only render to the first page?
yong

2005-01-11, 8:55 am

i build a function to print a tabular report and using render function.

string deviceInfo =
String.Format(@"<DeviceInfo><OutputFormat>{0}</OutputFormat>
<StartPage>{1}</StartPage></DeviceInfo>","emf", PageNo);

result = rs.Render(m_ReportPath,"IMAGE",null,
deviceInfo,null,null,null,out option,out option,out optionParam,
out optionWarning,out streamIDs);

when i set PageNo to 2, 4, 6,8 the report showing blank and only show
header text.

but i check my report width and height is 11in and 8.5in....
same with the A4 paper size.

Why will this happen??
how can i solve it??plz help...thanx

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com