Default.aspx
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\">
<head id=\"Head1\" runat=\"server\">
<title>无标题页</title>
<style type=\"text/css\">
.style1
{
height: 16px;
}
.style3
{
height: 23px;
}
</style>
</head>
<body>
<form id=\"form1\" runat=\"server\">
<div>
</div>
<table align=\"center\" border=\"1\" bordercolor=\"honeydew\" cellpadding=\"0\"
cellspacing=\"0\">
<tr>
<td style=\"FONT-SIZE: 9pt; COLOR: #ff0000; BACKGROUND-COLOR: #ff9933; TEXT-ALIGN: center\"
class=\"style1\">
</td>
<td colspan=\"2\"
style=\"FONT-SIZE: 9pt; COLOR: #ffffff; HEIGHT: 16px; BACKGROUND-COLOR: #ff9933; TEXT-ALIGN: center\">
将Excel数据写入Access数据库中</td>
</tr>
<tr>
<td style=\"BACKGROUND-COLOR: #ffffcc; TEXT-ALIGN: center\">
</td>
<td style=\"BACKGROUND-COLOR: #ffffcc; TEXT-ALIGN: center\">
<iframe id=\"I1\" name=\"I1\" scrolling=\"yes\" src=\"学生成绩.xls\"
style=\"WIDTH: 407px; HEIGHT: 280px\"></iframe>
</td>
<td style=\"WIDTH: 190px; BACKGROUND-COLOR: #ffffcc; TEXT-ALIGN: center\">
<asp:GridView ID=\"GridView1\" runat=\"server\" CellPadding=\"4\" Font-Size=\"9pt\"
ForeColor=\"#333333\" GridLines=\"None\" Width=\"228px\">
<FooterStyle BackColor=\"#990000\" Font-Bold=\"True\" ForeColor=\"White\" />
<RowStyle BackColor=\"#FFFBD6\" ForeColor=\"#333333\" />
<SelectedRowStyle BackColor=\"#FFCC66\" Font-Bold=\"True\" ForeColor=\"Navy\" />
<PagerStyle BackColor=\"#FFCC66\" ForeColor=\"#333333\" HorizontalAlign=\"Center\" />
<HeaderStyle BackColor=\"#990000\" Font-Bold=\"True\" ForeColor=\"White\" />
<AlternatingRowStyle BackColor=\"White\" />
</asp:GridView>
</td>
</tr>
<tr>
<td style=\"BACKGROUND-COLOR: #ff9900; TEXT-ALIGN: center\" class=\"style3\">
</td>
<td style=\"HEIGHT: 23px; BACKGROUND-COLOR: #ff9900; TEXT-ALIGN: center\"
valign=\"top\">
<asp:Button ID=\"Button3\" runat=\"server\" Font-Size=\"9pt\" onclick=\"Button1_Click\"
Text=\"Excel数据写入Access数据库中\" />
<asp:Label ID=\"Label1\" runat=\"server\" Text=\"Label\" Visible=\"False\"
style=\"font-size: x-small\"></asp:Label>
</td>
<td style=\"WIDTH: 190px; HEIGHT: 23px; BACKGROUND-COLOR: #ff9900; TEXT-ALIGN: center\">
<asp:Button ID=\"Button2\" runat=\"server\" Font-Size=\"9pt\" onclick=\"Button2_Click\"
Text=\"数据库中显示Excel数据\" />
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
</form>
</body>
</html>
本文地址:https://www.stayed.cn/item/18705
转载请注明出处。
本站部分内容来源于网络,如侵犯到您的权益,请 联系我