我采用WEB打印,先这样把数据库输出到页面上:例如:
Response.Write( "<table width=50% border=0>");
for(int m=0;m<dt.Rows.Count;m++)
{
  Response.Write( "<tr BORDERCOLORLIGHT='#f8f8ff'>");
  for(int n=0;n<dtDetail.Columns.Count;n++)
  {
    Response.Write( "<td nowrap align=left BGCOLOR='AliceBlue'><font size='1'>"+ChangeMonth(checknull
   (dtDetail.Rows[m][n].ToString()))+"</font></td>");
  }
  Response.Write ("</tr>");
}
Response.Write ("</table>");
//当达到指定的行数后,我就要强制分页,例如:
if(m==30) //30行
{
  //在此就要强制分页,这强制分页的代码怎么写?}强制分页的代码怎么写?
??