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
相关文档:
Cookie 提供了一种在 Web 应用程序中存储用户特定信息的方法。例如,当用户访问您的站点时,您可以使用 Cookie 存储用户首选项或其他信息。当该用户再次访问您的网站时,应用程序便可以检索以前存储的信息。
什么是 Cookie?
Cookie 是一小段文本信息,伴随着用户请求和页面在 Web 服务器和浏览器之间传递。Cookie 包含每 ......
我这是拿来别人用的,为了方便以后自己看吧,看对大家有帮忙吗
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)]
......
///方法
public static List<FeesItemInfo> selectAll()
{
List<FeesItemInfo> list = new List<FeesItemInfo>();
& ......
在网上找的
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 ......