Export datagrid to Word, force page break

G

Guest

Good Afternoon,

I am exporting a series of datagrids to Microsoft Word, and cannot figure
out how to force a page break between each datagrid. Does anyone know of a
character or command I could use with Response.Write to force a page break
between the datagrids?

Thank you,
Erik
 
S

Steve C. Orr [MVP, MCSD]

Try using these lines:

<h2 style='page-break-before: always;'>&nbsp;</h2>
<P style='page-break-before: always;'>&nbsp;</P>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top