易截截图软件、单文件、免安装、纯绿色、仅160KB

asp.net 备份还原数据库


1:客户端
<table border="0" style="width: 60%">
  <tr><td colspan="2" style="height: 5px">
      数据库还原和备份:</td></tr>
  <tr><td style="width: 171px; height: 23px;">
      请选择数据库:</td><td align="left" style="width: 358px; height: 23px;">
    <asp:DropDownList ID="ddlDatabaseList" runat="server" Width="297px">
    </asp:DropDownList></td></tr>
  <tr><td style="width: 171px; height: 18px;">
      要备份的文件名:</td><td align="left" style="width: 358px; height: 18px">
    <asp:TextBox ID="txtDbFileName" runat="server" Width="158px" OnTextChanged="txtDbFileName_TextChanged"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtDbFileName"
              ErrorMessage="数据库名不能空"></asp:RequiredFieldValidator></td></tr>
  <tr><td style="width: 171px">
      操作选项:</td><td align="left" style="width: 358px">
    <asp:RadioButton ID="rbBackup" runat="server" Checked="True" GroupName="action" Text="备份" />
    <asp:RadioButton ID="rbRestore" runat="server" GroupName="action" Text="还原" /></td></tr>
    <tr><td style="width: 171px; height: 40px;">
        操作:<asp:Label ID="Label1" runat="server" ForeColor="#C00000"></asp:Label></td><td align="left" style="width: 358px; height: 40px;">
       <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="执 行" Width="51px" />
        </td></tr>
  </table>
2:


相关文档:

ASP.NET BehaviorEditorPart Web 服务器控件概述


      BehaviorEditorPart Web 服务器控件是一个编辑器部件控件,最终用户可以使用该控件在运行时更改关联的 WebPart 控件上的多个用户界面 (UI) 属性。下表列出了用户可自定义的功能,以及用户可使用 BehaviorEditorPart 控件编辑的对应的 WebPart 控件属性值。
用户可自定义的功能
WebPart ......

ASP.NET EditorZone Web 服务器控件概述


      Web 部件的一项主要功能是使最终用户能够个性化网页并保存其个性化设置。修改 Web 部件页的一个方面包括编辑可见 WebPart 控件的外观、布局、行为和其他属性。
Web 部件控件集中的几种控件可提供编辑功能。其中包括 EditorZone 控件,该控件是 Web 部件控件集中用于承载网页上的 EditorP ......

ASP.NET数据库访问类

比较好的数据库访问类
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
using System.Data.OleDb;
using System.Data;
using System.Configuration;
namespace PublicClass
{
    /// <summary>    ///
  &n ......

ASP.NET中多国语言的实现

ASP.NET中多国语言的实现
http://www.cnblogs.com/firstyi/archive/2008/03/13/1103970.html
ASP.NET缓存提高站点性能
http://www.cnblogs.com/firstyi/archive/2007/08/15/856676.html
客户端脚本管理
http://www.cnblogs.com/firstyi/archive/2006/11/13/559049.html ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号