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

ASP.NET页面对象

   获取请求的页的 HttpRequest 对象。
一、HttpRequest 类
使 ASP.NET 能够读取客户端在 Web 请求期间发送的 HTTP 值。
      下面的代码示例使用 StreamWriter 类将若干 HttpRequest 类属性值的值写入文件。对于是字符串类型的属性,属性值被写入文件时将被编码为 HTML。表示集合的属性会被依次通过,而这些属性包含的各个键/值对都会被写入该文件。
<%@ Page Language="C#" %>
<%@ import Namespace="System.Threading" %>
<%@ import Namespace="System.IO" %>
<script runat="server">
 
    /* NOTE: To use this sample, create a c:\temp\CS folder,
    *  add the ASP.NET account (in IIS 5.x <machinename>\ASPNET,
    *  in IIS 6.x NETWORK SERVICE), and give it write permissions
    *  to the folder.*/
 
    private const string INFO_DIR = @"c:\temp\CS\RequestDetails";
    public static int requestCount;
 
    private void Page_Load(object sender, System.EventArgs e)
    {
 
        // Create a variable to use when iterating
        // through the UserLanguages property.
        int langCount;
 
        int requestNumber = Interlocked.Increment(ref requestCount);
 
        // Create the file to contain information about the request.
        string strFilePath = INFO_DIR + requestNumber.ToString() + @".txt";
 
 
        StreamWriter sw = File.CreateText(strFilePath);
 
        try
        {
            // Write request information to the file with HTML encoding.
&nbs


相关文档:

ASP.NET读取word到页面

 JavaScript实现:
<mce:script type ="text/javascript" ><!--
function readWord()
{
var div1=document .getElementById ("div1");
var WordApp,WordDoc,Str;
WordApp =new ActiveXObject ("Word.application");
WordDoc =WordApp.Documents.Open("F:\\工作日志.doc");
......

ASP.NET 成员资格类和说明


Membership
提供常规成员资格功能。
创建一个新用户。
删除一个用户。
用新信息来更新用户。
返回用户列表。
通过名称或电子邮件来查找用户。
验证(身份验证)用户。
获取联机用户的人数。
通过用户名或电子邮件地址来搜索用户。
MembershipUser
提供有关特定用户的信息。
获取密码和密码问题。
更改密码 ......

在UpdatePanel上使用FileUpload上传文件 (asp.net C#)

 
首先我很遗憾的告诉大家,因为微软的偷懒,目前UpdatePanel还不支持文件上传。变相的解决办法就是UpdatePanel中设置PostBackTrigger:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:FileUpload ID="FileUpload1" runat="serv ......

ASP.NET中FCKeditor_2.6.3配置

FCKeditor介绍
  FCKeditor是一个功能强大支持所见即所得功能的文本编辑器,可以为用户提供微软office软件一样的在线文档编辑服务。它不需要安装任何形式的客户端,兼容绝大多数主流浏览器,支持ASP.Net、ASP、ColdFusion 、PHP、Java、Active-FoxPro、Lasso、Perl、ython 等编程环境。
  官方网站http://www.fckedit ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号