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

asp.net 服务端的文件管理器

http://www.cnblogs.com/wyforumid/archive/2008/05/14/1196155.html
首先对以上的原创者说对不起下,未经同意就改了他的源码,还把改后的源码发出来。
主要改的地方就是地址栏里的东东了,原文可以看以上的,我贴上自己改后的源码吧
Default.aspx文件
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>
<!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 id="Head1" runat="server">
<title>Application Select</title>
<link id="SheetCss" type="text/css" href="Css/FileSelect.css" rel="Stylesheet"/>
<link id="ControlCss" type="text/css" href="Css/control.css" rel="Stylesheet"/> 
 <script type="text/javascript" language="javascript">
 var selectType;
function ChangeDefaultCSS()
{
var divs = document.getElementsByName("listitem");
for(i=0;i<divs.length;i++)
{
divs[i].className = "divItem";
}
}
   
    /**//*
         单击文件或文件夹时,记录路径
    */
    function GetSelectFilePath(div)
    {
        var hdfDir = document.getElementById("<%=hdfDir.ClientID %>");
        var currentDir = document.getElementById("<%=currentDir.ClientID %>");
       
        var fileInfos = div.getElementsByTagName("input");
        //记录所选文件路径
        hdfDir.value = fileInfos[0].value;
        //记录所选择类型:文件||文件夹
        selectType = fileInfos[1].value;
        if(selec


相关文档:

ASP.NET Cookie

Cookie 提供了一种在 Web 应用程序中存储用户特定信息的方法。例如,当用户访问您的站点时,您可以使用 Cookie 存储用户首选项或其他信息。当该用户再次访问您的网站时,应用程序便可以检索以前存储的信息。
什么是 Cookie?
Cookie 是一小段文本信息,伴随着用户请求和页面在 Web 服务器和浏览器之间传递。Cookie 包含每 ......

asp.net 利用WMI实现关机重启

我这是拿来别人用的,为了方便以后自己看吧,看对大家有帮忙吗
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace AppBLL
{
public class ShutDown
{
[StructLayout(LayoutKind.Sequential, Pack = 1)] ......

asp.net 分页

///方法
 public static List<FeesItemInfo> selectAll()
        {
            List<FeesItemInfo> list = new List<FeesItemInfo>();
         & ......

ASP.NET项目中在64位环境下运行32位dll的配置

在网上找的
 
http://support.microsoft.com/kb/894435/en-us
http://www.atalasoft.com/kb/article.aspx?id=10181
也许以后会用得着。
在web.config中加入以下配置:
C#
<system.codedom>
<compilers>
<compiler
language="c#;cs;csharp" extension=".cs"
compilerOptions="/platform ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号