📄 addknowinfo.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddKnowInfo.aspx.cs" Inherits="Web_AddKnowInfo" %>
<%@ PreviousPageType VirtualPath="~/Web/AddAffix.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 runat="server">
<title>添加知识条信息</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="1" cellpadding="1" cellspacing="1" style="width: 100%">
<tr>
<td colspan="2">
<asp:Label ID="LabTile" runat="server" Text="请填写您的知识信息:"></asp:Label></td>
</tr>
<tr>
<td style="width: 100px">
<asp:Label ID="LabTitle" runat="server" Text="标题:"></asp:Label></td>
<td>
<asp:TextBox ID="TxbTitle" runat="server" Width="300px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px">
<asp:Label ID="LabCategory" runat="server" Text="类别:"></asp:Label></td>
<td>
<asp:DropDownList ID="DdlCategory" runat="server" DataSourceID="SdsCategory" DataTextField="Category_name"
DataValueField="Category_name" Width="150px">
</asp:DropDownList>
<asp:SqlDataSource ID="SdsCategory" runat="server" ConnectionString="<%$ ConnectionStrings:db_KnowledgeConnectionString %>"
SelectCommand="SELECT [Category_name] FROM [tb_Category]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 100px">
<asp:Label ID="LabKeyword" runat="server" Text="关键字:"></asp:Label></td>
<td>
<asp:TextBox ID="TxbKeyword" runat="server" Width="300px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px;">
<asp:Label ID="LabContent" runat="server" Text="内容:"></asp:Label></td>
<td>
<asp:TextBox ID="TxbContent" runat="server" Height="200px" TextMode="MultiLine" Width="300px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px; height: 22px;">
</td>
<td style="height: 22px">
<asp:HyperLink ID="HlkUpload" runat="server" NavigateUrl="~/Web/AddAffix.aspx" Target="_blank">上传附件</asp:HyperLink>
<asp:Label ID="LabAffixK" runat="server"></asp:Label></td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td>
<asp:Button ID="BtnAddKnow" runat="server" OnClick="BtnAddKnow_Click" Text="添加" />
<asp:Button ID="BtnClose" runat="server" OnClick="BtnClose_Click" Text="关闭" />
<asp:Label ID="LabIsSuccess" runat="server"></asp:Label></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -