通过点击浏览按钮输入文件:

词频统计(WEB版)

点击查询按钮后返回结果:

词频统计(WEB版)

前台代码:

 1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 2 
 3 <!DOCTYPE html>
 4 
 5 <html xmlns="http://www.w3.org/1999/xhtml">
 6 <head runat="server">
 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 8     <title></title>
 9 </head>
10 <body>
11     <form id="form1" runat="server">
12         <h4>词频统计器
13             </h4>
14     <div>
15         <p>
16             请选择文件:<asp:FileUpload ID="FileUpload1" runat="server" />
17         </p>
18         <p>
19             <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" style="height: 21px; width: 62px" Text="查询" />
20         </p> 
21     </div>
22         <div>
23           
24             <asp:TextBox ID="TextBox1" runat="server" Height="300px" TextMode="MultiLine" Width="326px" Enabled="False"></asp:TextBox>
25           
26         </div>
27     </form>
28 </body>
29 </html>
View Code

相关文章:

  • 2021-12-04
  • 2021-12-16
  • 2021-06-18
猜你喜欢
  • 2021-08-26
  • 2021-06-15
  • 2021-06-26
  • 2021-07-05
  • 2021-12-02
  • 2021-06-10
  • 2021-11-29
相关资源
相似解决方案