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

asp.netÉú³É¾²Ì¬Ò³Ã棨¾²Ì¬Ò³ÃæÖаüÀ¨ÓÐʵʱÐÅÏ¢£©

    asp.netÉú³É¾²Ì¬Ò³Ãæͨ³£»áÓÐ2Öз½Ê½£¬Ò»ÖÖÊÇα¾²Ì¬£¬Ò»ÖÖÊÇÊÂÏÈдºÃÄ£°åÈ»ºóÖ±½ÓÌæ»»ÄÚÈÝ¡£¶ÔÓÚ2ÖÖ·½Ê½µÄÓÅȱµã£¬Ôڴ˲»ÌÖÂÛ£¬ÖصãÊÇ˵ϵڶþÖÖ·½Ê½£¬ÔÚÉú³É¾²Ì¬Ò³ÃæÖÐÓÐһЩÐÅÏ¢ÐèҪʵʱ´ÓÊý¾Ý¿â¶ÁÈ¡£¨±ÈÈ磺ÔÚÐÂÎÅÒ³Ã棬ÎÒÃÇ»áÐèҪһЩÈȵãÅÅÐУ¬ÕâЩÈȵãÐÂÎÅÎÒÃǾÍÐèҪʵʱµÄ´ÓÊý¾Ý¿âÀï±ßÄõ½£©¡£
    ʵÏÖ·½Ê½£ºÍ¨¹ýÍøÕ¾²éÕÒºÍѯÎÊ£¬µÃÖª¾ÍÊÇajax±È½ÏʵÓá£
    1.»¹ÊÇҪдºÃÉú³É¾²Ì¬Ò³ÃæµÄÄ£°åÒ³Ã棬µ«ÊÇ£¬ÔÚÄ£°åÒ³Ãæ·ÅÖÃÈȵãÐÂÎŵĵط½£¬ÎÒÃÇ¿ÉÒÔ·ÅÒ»¸öDIV
     <div id="hot">
     </div>  
      ͬʱÎÒÃÇÐèҪдһ¶ÎJS£¬ÓÃÀ´ÊµÊ±»ñÈ¡Êý¾Ý¿âÐÅÏ¢£¨×¢£º»ñÈ¡·½Ê½Í¨¹ýÒ»¸öÆäËûASPXÒ³Ãæ»ñÈ¡£¬È»ºóÏÔʾµ½¸Õ¸Õ¶¨ÒåµÄDIVÖУ©¡£
      <mce:script language="javascript"><!--
var request = false;
//ʵÀý»¯XMLHttpRequest
function createXMLHttpRequest()
{
try
{
request = new ActivexObject("Msxml2.XMLHTTP");
}
catch(e1)
{
try
{
request = new ActivexObject("Microsoft.XMLHTTP");
}
catch(e2)
{
request = false;
}
}
if(!request && typeof XMLHttpRequest != 'undefined')
{
//·ÇIEÄÚºËä¯ÀÀÆ÷ʵÀý»¯XMLHttpRequestµÄ·½·¨
request = new XMLHttpRequest();
}
}

//·¢ËÍ¿Í»§¶ËÇëÇóµÄ·½·¨
function getServerTime()
{
//µ÷ÓÃÉÏÃæµÄ·½·¨ÊµÀý»¯XMLHttpRequest
createXMLHttpRequest();
//escape()¶ÔÌØÊâ×Ö·û½øÐÐתÒå
var url = "../hot.aspx";
//alert(url);
//ͨ¹ýGETµÄ·½Ê½´ò¿ªÇëÇ󣬵ÚÈý¸ö²ÎÊýture±íʾÒì²½·¢ËÍÇëÇó£¬false±íʾͬ²½
request.open("GET",url,true);
//µ±requestµÄµÈ´ý״̬·¢Éú±ä»¯Ê±ÒªÖ´ÐеĿͻ§¶Ë·½·¨
request.onreadystatechange=update;
//ÒòΪÔÚurlÖÐÒѾ­¸½´øÁ˲ÎÊý£¬ÕâÀïµÄ²ÎÊýΪnull
request.s


Ïà¹ØÎĵµ£º

£¨C#£©Asp.netÈÕÆÚ¡¢Ê±¼äº¯Êý´óÈ«

ÔÚASP.NetÒ»°ãµÄ³ÌÐò±àдÖУ¬ËùʹÓõÄÊý¾ÝÀïÃ棬ÈÕÆÚʱ¼äÊÇÒ»ÖÖÌØÊâµÄÊý¾ÝÀàÐÍ£¬Ò²ÊǾ­³£±»Ê¹Óõġ£---µçÄԽ̳̼¼ÊõѧϰÍø
  ÔÚVisual Basic.NETÖеÄÈÕÆÚʱ¼äÊý¾ÝÓÃÊýÖµµÄÊý¾ÝÀàÐͱ£´æ£¬¶øÇÒÓз¶Î§¡£
   ÈÕÆڵķ¶Î§Êǹ«Ôª1Äê1ÔÂ1ÈÕ¡«¹«Ôª9999Äê1 2ÔÂ3 1ÈÕ£¬Ê±¼äµÄ·¶Î§ÊÇ00£º00£º00¡«23£º59£º59¡£ÉùÃ÷¸ñÊ½È ......

ÔÚasp.netÖÐʹÓÃsession³£¼ûÎÊÌ⼯½õ

ÎÊ£ºÎªÊ²Ã´SessionÔÚÓÐЩ»úÆ÷ÉÏż¶û»á¶ªÊ§£¿
´ð£º¿ÉÄܺͻúÆ÷µÄ»·¾³ÓйØϵ£¬±ÈÈ磺·À»ðǽ»òÕßɱ¶¾Èí¼þµÈ£¬³¢ÊԹرշÀ»ðǽ¡£
ÎÊ£ºÎªÊ²Ã´µ±µ÷ÓÃSession.Abandonʱ²¢Ã»Óм¤·¢Session_End·½·¨£¿
´ð£ºÊ×ÏÈSession_End·½·¨Ö»Ö§³ÖInProc£¨½ø³ÌÄڵģ©ÀàÐ͵ÄSession¡£Æä´ÎÒª¼¤·¢Session_End·½·¨£¬±ØÐë´æÔÚSession£¨¼´ÏµÍ³ÖÐÒѾ­Ê¹Ó ......

asp.netµ¼Èëexcel

   µ¼³öµ½excelµÄ·½·¨ÓжàÖÖ£¬±È½Ï³£¼ûµÄÊÇÖ±½Óµ¼³öµ½EXCEL,»¹ÓоÍÊÇÏȽ«Ò³ÃæµÄÊý¾Ýдµ½´ÅÅÌÎļþ£¬Ö®ºóÖ±½ÓÔÙ´ò¿ªÎļþ£¬ÁíÍ⻹ÓоÍ
ÊǽèÖúµÚÈý·½µÄ¿Ø¼þ¡£
Ç°¶Îʱ¼äдµÄµ¼³öÊý¾Ýµ½excelÔÚexcel2003ÖÐÕý³£¶øÔÚexcel2007ÖÐÊý¾ÝÂÒÂ룬½ñÌìÁ˽⵽ԭÀ´ÊÇResponse.ContentType = "application/ms-excel";µ¼Ö ......

ASP.NETÓëMySqlµÄÁ¬½Ó

1.Êý¾ÝÁ¬½Ó·½Ê½
ASP.NET±¾ÉíµÄÊý¾Ý·ÃÎÊADO.NET²»Ö§³Ö¶ÔÓÚMySqlµÄÁ¬½ÓºÍ²éѯ£¬µ«ÊÇMySQL¹ÙÍøÉϾùÌṩÁ˶àÖÖASP.NETÁ¬½Óµ½MySQLµÄ·½Ê½£º
£¨1£©ODBCÇý¶¯µÄ·ÃÎÊ·½Ê½£ºmysql-connector-odbc-5.1.5-win32.msi£¬ODBC
£¨2£©ADO.NET¶ÔÓÚMySQLµÄ·ÃÎÊ·½Ê½£ºmysql-connector-net-6.2.2.zip
¸öÈËÑ¡ÓõÄÊǵڶþÖÖ£¬¸Ð¾õ·½±ã£¬ºÍ.NET¶ÔS ......

FCKeditor ÅäÖá¢À©Õ¹ ½öÊÊÓÃÓÚASP.NET

Ò»¡¢×Ô¶¨Òå FCKeditor µÄ BasePathBasePath ¼´FCKeditorÔÚÍøÕ¾ÖеÄÏà¶Ô·¾¶£¬Ä¬ÈÏÖµÊÇ /fckeditor/£¬×îºÃÔÚWeb.config appSettingsÖжÔÆä½øÐÐÅäÖãº
<add key="FCKeditor:BasePath" value="/FCKeditor_2.6.3/"/>
ÕâÑù×öÓÐÖî¶àÓŵ㣺
1.¿ª·¢»·¾³ÓëÉú²ú»·¾³²»Í¬£¬¿ª·¢»·¾³Ò»°ãÊÇhttp://localhost/xxx.com/ÕâÖÖÇé¿öÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ