📄 tableadd.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TableAdd.aspx.cs" Inherits="isqlweb.TableAdd" %>
<!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 runat="server">
<title>添加表</title>
<link href="Style/main.css" rel="stylesheet" type="text/css" />
</head>
<body onload="body_onload()">
<script type="text/javascript">
function body_onload(){
var txt = document.getElementById("txt_tableName_P").firstChild;
txt.focus();
}
function checkadd(){
var v = document.getElementById("txt_tableName_P").firstChild.value;
if(v==null || v==""){
alert("请输入表名称。");
return false;
}
return true;
}
</script>
<form id="form1" runat="server" onsubmit="return checkadd();">
<div>
<p>
</p>
<p> </p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<table width="344" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="3" height="3"><img src="Style/kuan1__01.gif" width="3" height="3" alt="" /></td>
<td background="Style/kuan1__02.gif"></td>
<td width="3"><img src="Style/kuan1__04.gif" width="3" height="3" alt="" /></td>
</tr>
<tr>
<td background="Style/kuan1__05.gif"></td>
<td valign="top" bgcolor="#D4D0C8"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="338" height="18" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="systitle">
<img src="Style/btn_newtable.gif" align="absmiddle" /> 向(<asp:Label ID="lab_dbName"
runat="server"></asp:Label>)数据库添加表
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"> </td>
<td>输入表名称(<span class="underline">E</span>):</td>
</tr>
<tr>
<td style="height: 24px"> </td>
<td style="height: 24px">
<span id="txt_tableName_P"><asp:TextBox ID="txt_tableName" runat="server" Width="310px" TabIndex="0"></asp:TextBox></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="sysgroupline">
<div></div></td>
</tr>
<tr>
<td height="38" align="right" style="padding-right:8px;"><asp:Button ID="btn_ok" runat="server" Text="确定" CssClass="btn_70" OnClick="btn_ok_Click" />
<input name="btn_cancel" type="button" class="btn_70" id="Reset1" onclick="document.getElementById('txt_tableName_P').firstChild.value=''" value="取消" />
<input name="btn_help" type="button" class="btn_70" id="btn_help" value="帮助" onclick="alert('输入表名后,点击确定,将创建一张默认格式的表。');" /></td>
</tr>
</table></td>
<td background="Style/kuan1__07.gif"></td>
</tr>
<tr>
<td width="3" height="2"><img src="Style/kuan1__10.gif" width="3" height="2" alt="" /></td>
<td background="Style/kuan1__11.gif"></td>
<td width="3"><img src="Style/kuan1__13.gif" width="3" height="2" alt="" /></td>
</tr>
</table>
<p> </p>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -