Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.NETʵÏÖ½ø¶ÈÌõ


½¨Á¢Ò»¸öWEB¹¤³Ì£¬Ìí¼ÓÐÂÏî->HTMLÒ³Ã棬ÃüÃûΪProgressBar.htm£¬ÄÚÈÝÈçÏ£º
<!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" id="mainWindow">
<head>
<title>ÎÞ±êÌâÒ³</title>
<script language="javascript">
function SetPorgressBar(pos)
{
//ÉèÖýø¶ÈÌõ¾ÓÖÐ
var screenHeight = window["mainWindow"].offsetHeight;
var screenWidth = window["mainWindow"].offsetWidth;
ProgressBarSide.style.width = Math.round(screenWidth / 2);
ProgressBarSide.style.left = Math.round(screenWidth / 4);
ProgressBarSide.style.top = Math.round(screenHeight / 2);
ProgressBarSide.style.height = "21px";
ProgressBarSide.style.display = "";
//ÉèÖýø¶ÈÌõ°Ù·Ö±È
ProgressBar.style.width = pos + "%";
ProgressText.innerHTML = pos + "%";
}
//Íê³ÉºóÒþ²Ø½ø¶ÈÌõ
function SetCompleted()
{
ProgressBarSide.style.display = "none";
}
</script>
</head>
<body>
<div
id="ProgressBarSide"
style="position:absolute;height:21x;width:100px;color:Silver;border-width:1px;border-style:Solid;display:none">
<div id="ProgressBar" style="position:absolute;height:21px;width:0%;background-color:#3366FF"></div>
<div id="ProgressText" style="position:absolute;height:21px;width:100%;text-align:center"></div>
</div>
</body>
</html>
ºǫ́´úÂ룬Default.aspx.cs£º
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Threading;
using System.IO;
public partial class _Default : System.Web.UI.Page
{
private void begi


Ïà¹ØÎĵµ£º

Àí½âASP.NET MVCÖ´Ðйý³Ì

Ïò»ùÓÚASP.NET MVCµÄWeb³ÌÐò·¢ËÍÇëÇóÊ×ÏÈ´«µÝÒ»¸ö UrlRoutingModule ¶ÔÏó£¬ÕâÊÇÒ»¸öHTTPÄ£¿é¡£Õâ¸öÄ£¿é½âÎöÇëÇó²¢Ö´ÐзÓÉÑ¡Ôñ¡£ UrlRoutingModule ¶ÔÏóÑ¡ÔñµÚÒ»¸öÆ¥Å䵱ǰÇëÇóµÄ·ÓɶÔÏó¡£(·ÓɶÔÏóÊÇʵÏÖ RouteBase µÄÀ࣬¶øÇÒͨ³£ÊÇ Route ÀàµÄÒ»¸öʵÀý¡£) Èç¹ûûÓÐÈκηÓÉÆ¥Å䣬 UrlRoutingModule ¶ÔÏó¾Íɶ¶¼²»×ö£¬ÈÃÇ ......

asp.net(c#)×öÒ»¸öÍøÒ³Êý¾Ý²É¼¯¹¤¾ß

×î½ü×öÒ»¸öÍøÕ¾£¬¸ÃÍøÕ¾ÐèÒªÌí¼Ó4000¶à ²úÆ·ÐÅÏ¢£¬Èç¹ûÓÃÈ˹¤·½·¨È¥±ðµÄÍøÕ¾copyÄÇÖÁÉÙÒª»¨·Ñ°ëÔÂʱ¼ä²ÅÄÜÍê³É£¬ËùÒÔÎÒ¸ö°ì·¨Ê¹ÓÃc#×÷³öÀ´ÁËÒ»¸öÍøÒ³Êý¾Ý²É¼¯Èí¼þ
Ïêϸ³ö´¦²Î¿¼£ºhttp://www.jb51.net/article/21468.htm
//ÌáÈ¡²úÆ·ÁбíÒ³ÖвúÆ·×îÖÕÒ³µÄÍøÒ³
private void button1_Click(object sender, EventArgs e)
......

ASP.NET ¿ª·¢ÖªÊ¶Ð¡½á£¨James Li£©

×öÁ˼¸ÄêµÄASP.NET,»ýÀÛÁ˲»ÉÙС¼¼ÇÉ¡£µ«ÊǼ¼ÇÉÖ»ÊʺÏÓÚÌض¨µÄ»·¾³£¬»¹²»Èç¼ÓÇ¿¶Ô»ù´¡ÖªÊ¶µÄÀí½âÓëÔËÓá£ÏÂÃæÊÇÎÒµÄÒ»µãÌå»á£¬Óë´ó¼Ò·ÖÏí¡£
1 ĸ°æÒ³
Õâ¸ö¿Ø¼þ¿ÉÒÔʹÎÒÍü¼ÇhtmlµÄiframeÖ®ÀàµÄÒ³Ãæ¿ò¼Ü·½°¸,»¹ÓÐframeset.
asp¿ª·¢Öл¹Ö§³Ö<#include file=”head.asp>
ÏÖÔÚÓÐĸ°æÒ³¿ÉÒÔÇáËɵÄÒÔ.NETµÄ·½Ê½ ......

ASP.net ¿çƽ̨Linux

½üÀ´£¬Ëæ×ÅMono2.4ºÍJexus web server 2.3µÄ³É¹¦·¢²¼£¬ÔÚLinux ƽ̨¼ÜÉèAsp.netµÄʱ»úÒѾ­ÍêÈ«³ÉÊì¡£ÓÉÓÚLinux·þÎñÆ÷ϵͳËù¾ß±¸µÄ´óÁ¿µÄÓŵ㣬¿ÉÒÔÔ¤¼Æ£¬¿çƽ̨µÄLinux ASP.NETÍøÕ¾±Ø½«½øÈëÎÒÃǵŤ×÷ÓëÉú²úʵ¼Ê¡£
Ãû´Ê½âÊÍ£º
Ò»¡¢Mono:
MonoÊÇÒ»¸ö¿ªÔ´ÏîÄ¿£¬ÊÇ°´ECMA-335¶¨ÒåµÄ±ê×¼Ö´ÐÐ.NET¿ò¼Ü£¬¼òµ¥µØ˵£¬Mono¾ÍÊÇ ......

asp.netÖм¸ÖÖ³£¼ûµÄ´íÎó´¦Àí·½·¨

<Ò»>Ò³Ã漶µÄ´íÎó´¦Àí
void Page_Error(Object sender, EventArgs e) {
     String message = "<font face=verdana color=red>"
                         ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ