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
Ïà¹ØÎĵµ£º
1.¶ÔÏó³õʼ»¯£¨OnInit·½·¨£©
Ò³ÃæÖеĿؼþ(°üÀ¨Ò³Ãæ±¾Éí)¶¼ÊÇÔÚËüÃÇ×î³õµÄFORMÖб»Ê״γõʼ»¯µÄ¡£Í¨¹ýÔÚASPXÒ³ÃæµÄºǫ́´úÂëÎļþµÄ¹¹ÔìÆ÷ÖÐÉùÃ÷ÄãµÄ¶ÔÏó£¬Ò³Ã潫֪µÀ¶ÔÏóµÄÀàÐÍ£¬²¢ÖªµÀÐèÒª´´½¨¶àÉÙ¸öÕâÑùµÄ¶ÔÏó¡£Ò»µ©ÄãÔÚ¹¹ÔìÆ÷ÖÐÉùÃ÷ÁËÄãµÄ¿Ø¼þ£¬Äã¾Í¿ÉÒÔÔÚËüµÄÈκÎ×ÓÀ࣬·½·¨£¬Ê¼þ»òÕßÊôÐÔÖзÃÎʵ½Ë ......
ÉùÃ÷£º
Ö»Ìṩºǫ́.csÎļþ´úÂë
Ïêϸ½Ì³ÌµØÖ·£ºhttp://download.csdn.net/source/2289546
1.ÐèÒª ±àд¾²Ì¬Ä£°åÒ³ ÎÒʹÓõÄÊÇ template.htm
2.ÔÚÄ£°åÒ³Öж¨Òåhtmlyem±ê¼Ç£¬±ê¼Ç·Ç¹Ì¶¨ÄÚÈÝ£¬ÔÚºǫ́´úÂëÖÐΪ±ê¼Ç¸³Öµ
3.ºǫ́´úÂëÈçÏ£º
using System;
using System.Data;
using System.Configuration;
using Syst ......
ÎÒÕâÊÇÄÃÀ´±ðÈËÓõģ¬ÎªÁË·½±ãÒÔºó×Ô¼º¿´°É£¬¿´¶Ô´ó¼ÒÓаïæÂð
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)]
......
ÕýÎIJ¿·Ö£º
×¢Ò⣺ÒÔϺìÉ«²¿·Ö×ÖÌå˵Ã÷¸ÃÄÚÈÝÒýÓÃÓÚ΢ÈíµÄÏà¹ØÍøÕ¾
ÒòΪҪ×öÒ»¸öÊÓÆµÍøÕ¾£¬ËùÒÔÐèÒªÌṩÓû§ÉÏ´«ÊÓÆµµÄ¹¦ÄÜ¡£¿ÉÊÇASP.Net×Ô´øµÄÉÏ´«¿Ø¼þÖ»ÄÜÓÃÓÚÉÏ´«Ð¡Îļþ,ÕâÏÔÈ»ÎÞ·¨Âú×ãÐèÒª¡£ÓÐЩÅóÓÑ¿ÉÄÜÒªÎÊÁË"ΪʲôÐèÒªÓ ......
///·½·¨
public static List<FeesItemInfo> selectAll()
{
List<FeesItemInfo> list = new List<FeesItemInfo>();
& ......