使用方法:
private static clsPrint m_clsPrint = new clsPrint();
private void Page_Load(object sender, System.EventArgs e)
{
if(!IsPostBack)
{
BindGrid();
}
}
private void DisplayGrid()
{
MyDataGrid.DataBind();
m_clsPrint.dgDataGrid = MyDataGrid;
}
private void btnPrint_Click(object sender, System.EventArgs e)
{
可使用方法和属性如下:
m_clsPrint.PageTitle = '权限列表';
m_clsPrint.PageNumber = 30;
string[] sShoulderLeft = new string[3];
string[] sShoulderCenter = new string[1];
string[] sShoulderRight = new string[2];
sShoulderLeft[0] = '左页眉一';
sShoulderLeft[1] = '左页眉二';
sShoulderLeft[2] = '左页眉三';
sShoulderCenter[0] = '中页眉一 ';
sShoulderRight[0] = '右页眉一';
sShoulderRight[1] = '右页眉二(共计XXXX名)';
m_clsPrint.ShoulderLeft = sShoulderLeft;
m_clsPrint.ShoulderCenter = sShoulderCenter;
m_clsPrint.ShoulderRight = sS
private static clsPrint m_clsPrint = new clsPrint();
private void Page_Load(object sender, System.EventArgs e)
{
if(!IsPostBack)
{
BindGrid();
}
}
private void DisplayGrid()
{
MyDataGrid.DataBind();
m_clsPrint.dgDataGrid = MyDataGrid;
}
private void btnPrint_Click(object sender, System.EventArgs e)
{
可使用方法和属性如下:
m_clsPrint.PageTitle = '权限列表';
m_clsPrint.PageNumber = 30;
string[] sShoulderLeft = new string[3];
string[] sShoulderCenter = new string[1];
string[] sShoulderRight = new string[2];
sShoulderLeft[0] = '左页眉一';
sShoulderLeft[1] = '左页眉二';
sShoulderLeft[2] = '左页眉三';
sShoulderCenter[0] = '中页眉一 ';
sShoulderRight[0] = '右页眉一';
sShoulderRight[1] = '右页眉二(共计XXXX名)';
m_clsPrint.ShoulderLeft = sShoulderLeft;
m_clsPrint.ShoulderCenter = sShoulderCenter;
m_clsPrint.ShoulderRight = sS
