<HTML>
<HEAD>
<title>menzhendayin</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<META http-equiv="Content-Type" content="text/html; charset=gb2312" />
<SCRIPT language="javascript">
function printsetup(){
// 打印页面设置
wb.execwb(8,1);
}
function printpreview(){
// 打印页面预览
wb.execwb(7,1);
}
function printit()
{
//if (confirm('确定打印吗?'))
{
wb.execwb(6,6)
}
}
</SCRIPT>
</HEAD>
<body MS_POSITIONING="GridLayout">
<DIV align="center">
<OBJECT id="wb" height="0" width="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"
name="wb">
</OBJECT>
<INPUT onclick="javascript:printit()" type="button" value="打印" name="button_print" />
<INPUT onclick="javascript:printsetup();" type="button" value="打印页面设置" name="button_setup" />
<INPUT onclick="javascript:printpreview();" type="button" value="打印预览" name="button_show" />
</DIV>
<form id="Form1" method="post" runat="server">
<FONT face="宋体"></FONT>
<asp:label id="Label1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 72px" runat="server"
Width="216px" Height="24px">请输入要打印的病人的编号:</asp:label><asp:datagrid id="DataGrid1" style="Z-INDEX: 102; LEFT: 24px; POSITION: absolute; TOP: 216px"
runat="server" Width="672px" Height="128px" BackColor="Silver"></asp:datagrid><asp:label id="Label2" style="Z-INDEX: 103; LEFT: 72px; POSITION: absolute; TOP: 168px" runat="server"
Width="80px" Height="24px">病人姓名:</asp:label><asp:label id="Label3" style="Z-INDEX: 104; LEFT: 384px; POSITION: absolute; TOP: 168px" runat="server"
Width="64px" Height="24px">总金额:</asp:label><asp:textbox id="TextBox1" style="Z-INDEX: 105; LEFT: 256px; POSITION: absolute; TOP: 64px" runat="server"
Width="184px" Height="32px"></asp:textbox><asp:button id="Button1" style="Z-INDEX: 106; LEFT: 472px; POSITION: absolute; TOP: 64px" runat="server"
Width="96px" Height="32px" Text="查询"></asp:button><asp:textbox id="TextBox2" style="Z-INDEX: 107; LEFT: 200px; POSITION: absolute; TOP: 160px"
runat="server" Height="32px" ReadOnly="True" BackColor="Silver"></asp:textbox><asp:textbox id="TextBox3" style="Z-INDEX: 108; LEFT: 480px; POSITION: absolute; TOP: 160px"
runat="server" Width="152px" Height="32px" ReadOnly="True" BackColor="Silver"></asp:textbox></form>
</body>
</HTML>
请教各位大侠是什么原因???