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

有关ASP.NET中的UpdateProgress控件的使用

 前台代码
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdateProgress.aspx.cs" Inherits="UpdateProgress" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!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>
        <asp:Label ID="lheader" runat="server" Font-Bold="True" Font-Size="Large" Text="使用UpdateProgress控件"> </asp:Label> <br />
        <hr />
        &nbsp; </div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
            <asp:Label ID="linfo" runat="server" Text="单击下面按钮进行测试"> </asp:Label> <br />
                <asp:Button ID="btTest" runat="server" OnClick="btTest_Click" Text="测试" /> <br />
                <asp:Label ID="lResult" runat="server"> </asp:Label>&nbsp;
         <asp:UpdatePr


相关文档:

asp.net面试题(5)

61.产生一个int数组,长度为100,并向其中随机插入1-100,并且不能重复。   
 
int[] intarr=new int[100];   
 
arraylist mylist=new arraylist();   
 
random rnd=new random();   
 
while(mylist.count<100)&nb ......

ASP.NET页面静态化之URL重写 (转)

有关于URL的重写,本文也只是拿来主意。相继有MS的组件“URLRewriter”和在Global.asax里的“Application_BeginRequest()”编码方式,以及IIS里的ISAPI设置。
娜列下来,实现方法也都很简单。
方法一:MS组件
这里也不用详解了,相关请看:
http://www.microsoft.com/china/msdn/library/webservic ......

ASP.NET防SQL注入脚本程序 v2.0

虽然说ASP.NET属于安全性高的脚本语言,但是也经常看到ASP.NET网站由于过滤不严造成注射.由于ASP.NET基本上配合MMSQL数据库架设 如果权限过大的话很容易被攻击. 再者在网络上找不到好的ASP.NET防注射脚本,所以就自己写了个. 在这里共享出来旨在让程序员免除SQL注入的困扰.
我写了两个版本,VB.NET和C#版本方便不同程序间使用 ......

手把手教你做ASP.NET留言本


没有想到真的这么方便!更加坚定我学习ASP.NET的决心! 现在我们一起来看看吧
1,请确定你的电脑安装了以下的软件!
1.1,    WINDWOS 2000以上版本(必装)
1.2,    .NET Framework(必装)
1.3,    Visual Studio .NET 2005(必装)
2,建立一个ACCESS数据库,
3,拖动VS2005 的GRIDVIEW 到 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号