Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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Ö®Îå ASP.NET¶ÔÏó

session
===================================
session¶ÔÏóÓÃÓÚ´æ´¢ÌØ¶¨µÄÓû§»á»°ËùÐèµÄÐÅÏ¢ ¡£ Session¶ÔÏóµÄÒýÈëÊÇΪÁËÃÖ²¹HTTPЭÒéµÄ²»×㣬HTTPЭÒéÊÇÒ»ÖÖÎÞ״̬µÄЭÒé¡£
¡¡¡¡SessionÖÐÎÄÊÇ“»á»°”µÄÒâ˼£¬ÔÚASPÖдú±íÁË·þÎñÆ÷Óë¿Í»§¶ËÖ®¼äµÄ“»á»°”¡£SessionµÄ×÷ÓÃʱ¼ä´ÓÓû§µ½´ïij¸öÌØ¶¨µÄ ......

ASP.NETµÄ»º´æ

ÎÒÃÇÖªµÀÒ»¸öÍøÕ¾ÔÚ·ÃÎÊÁ¿¾Þ´óµÄʱºò£¬Èç¹ûÄÜʹÓûº´æ¼¼Êõ£¬¿ÉÒÔÃ÷ÏÔ½µµÍÍøÕ¾µÄ·ÃÎʸºµ££¬ËùÒÔ·Ï»°²»¶à˵£¬ÎÒÃÇÀ´¿´Ò»ÏÂÔÚASP.NETÖÐÈçºÎÄÜʵÏÖ»º´æ¡£
Ê×ÏÈÓ¦¸ÃÇå³þµÄÊÇ£¬ÔÚASP.NETÖУ¬ÓÐÁ½À໺´æ¿ÉÒÔʹÓ㬵ÚÒ»ÀàÊÇÊä³ö»º´æ£¬µÚ¶þÀàÊÇÊý¾Ý»º´æ¡£
Êä³ö»º´æµÄͨË×½âÊ;ÍÊÇ£¬¾ÍÊÇÎÒÃǰÑij¸ö±»·ÃÎʵÄÒ³ÃæÔÚÓû§·ÃÎÊʱÔÝʱÉú³É ......

ASP.NETµÄÅäÖùÜÀí machine.config

   ASP.NETµÄÅäÖÃÊÇ´Ómachine.configÎļþ¿ªÊ¼µÄ£¬Í¨³£Çé¿öÏÂÕâ¸öÎļþ±»·ÅÔÚ"c:\Windows\Microsoft.NET\Framework\v2.0.50727\Config"Ŀ¼ÖУ¬ÕâÎļþÖж¨ÒåÁËASP.NETËùÖ§³ÖµÄÅäÖÃÎļþµÄ¸÷¸ö²¿·Ö£¬°üÀ¨ASP.NET¹¤×÷½ø³ÌµÄÅäÖã¬ÒÔ¼°×¢²áһЩÄܹ»ÌṩÖîÈçÊôÐÔÅäÖã¨profiles£©¡¢³ÉÔ±×ʸñ£¨membership£©¡¢»ùÓÚ½ÇÉ«µÄ°² ......

AJAXµ÷Óà ASP.net ±¾µØÎļþϵͳµÄ¹ÖÎÊÌâ

×î½ü¿ª·¢ExtÓ¦Óã¬Ê¹ÓÃajaxÇëÇóÊý¾Ýʱ£¬Óöµ½ÁËÇëÇóÊý¾ÝÒÔ·µ»Ø£¬µ«IEÀïÈ´ÎÞ·¨ÏÔʾµÄ¹ÖÎÊÌâ¡£
ʹÓÃHTTPWatch²é¿´£¬·¢ÏÖERROR_INTERNET_CONNECTION_RESET¡£
ʹÓÃFireFoxºÍgoogleä¯ÀÀÆ÷¶¼Ã»ÓÐÎÊÌâ£¬ÍøÉϲéÕÒËµÍøÕ¾·ÅÔÚIISÉÏûÓÐÎÊÌ⣬ÊÔÑéºóÖ¤Ã÷ÓÐЧ¡£
µ«Í¬Ê¿ª·¢Óûú´ó²¿·Ö¶¼ÊÇXPϵͳ£¬Óв¿·Ö»¹ÊÇHOME°æ£¬Òò´Ë¸ÃÎÊÌâ±ØÐëÕÒµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ