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

asp.net Ò³Ã澲̬»¯·½°¸

ÔÚ×î½üµÄÓÃasp.net ¿ª·¢µÄÏîÄ¿ÖУ¬×öÓÅ»¯£¬Òª°ÑÒ³Ã澲̬»¯£¬²éÁ˺ܶàÖÖ·½·¨£¬×îºóÑ¡ÔñÁËÓÃÄ£°åÀ´ÊµÏÖ£¬
×îÖÕÒ³µÄʵÏֱȽϼòµ¥£¬ÔÚÍøÉÏÕÒÁËÒ»¶Î´úÂ룬µ«Ê×Ò³£¬¶þ¼¶Ò³£¬ÁбíÒ³µÄ´¦Àí±¾ÈËÊÇÓõÄÒÔÏ·½°¸£¬ÏÖÔÚ»¹Ö»ÊÇÒ»¸ö±È½Ï¼òµ¥µÄ£¬Ï£ÍûÓдó¼Ò¶à¶àÖ¸µã£¬½»Á÷£»
·½·¨ÈçÏ£º
   ˼·ÃèÊö£º
    1£¬ÔÚÄ£°åÖÐ×Ô¼ºÐ´Ñ­»·£¬Í¨¹ýasp.net ¶ÁÈ룬ÔÙ½âÎö£»
    2£¬ÔÙ°´Ñ­»·Ìõ¼þµ½Êý¾Ý¿â¶ÁÈ¡Êý¾Ý£¬ÓÃÌ滻ѭ»·ÄڵıäÁ¿£»
    3£¬×îºó·µ»ØÌæ»»ºóµÄ×Ö·û´®£¬Éú³É¾²Ì¬Îļþ£»
Ä£°åÑùʽ´úÂ룺
 #foreach{News_Article;row_number() over(order by News_CreateTime desc) as rowNumber,News_Type,News_Title,News_HtmlFileName,News_Count;limit(0,1)|order(News_CreateTime desc)|types(in('0103'))|important(in('1'))|isnominate(1)|style(1)|define()}
<li>
<div class="sx">$News_Article.rowNumber</div>
<a href="$News_Article.News_HtmlFileName" target="_blank" title="$News_Article.News_Title;[µã»÷Êý£º$News_Article.News_Count]">$News_Article.News_Title</a>
</li>
#endforeach
ÁбíÒ³Ñùʽ´úÂ룺
#foreach{News_Article;row_number() over(order by News_CreateTime desc) as rowNumber,News_Type,News_Title,News_HtmlFileName,News_Count;limit(0,1)|order(News_CreateTime desc)|types(not in ('0104'))|important(not in('0'))|isnominate(1)|style(1)|define();page(20)}
<li>
<div class="sx">$News_Article.rowNumber</div>
<a href="$News_Article.News_HtmlFileName" target="_blank" title="$News_Article.News_Title;[µã»÷Êý£º$News_Article.News_Count]">$News_Article.News_Title</a>
</li>
#endforeach
˵Ã÷£º#foreach  #endforeach ÕâÊÇ×Ô¶¨ÒåÑ­»·Ì壬News_ArticleÊý¾Ý¿â±íÃû£¬
row_number() over(order by News_CreateTime desc) as rowNumber,News_Type,News_Title,News_HtmlFileName,News_Count;ÏÔʾ×Ö¶ÎÃû£¬
limit(0,1)|order(News_CreateTime desc)|types(in('0103'))|important(in('1'))|isnominate(1)|style(1)|define()Ìõ¼þ
page(20)·ÖÒ³ÌõÊý£»
$News_Article.rowNumberÑ­»·Ìå±äÁ¿
´¦Àí·½·¨£º
 /// <summary>
    


Ïà¹ØÎĵµ£º

ASP.NETÅäÖÃOracleµÄÏà¹Ø˵Ã÷

²        Oracle9iµÄ°²×°£¬Çë²ÎÕÕ¹Ù·½µÄ°²×°ËµÃ÷¡£
²        Oracle9i°²×°³É¹¦ÒÔºó£¬Ê¹ÓùÜÀíÔ±£¨Óû§Ãû£ºsys¡¢ÃÜÂ룺sys£©µÄÉí·ÝµÇ¼½øÈ¥£¬´´½¨Ò»¸öÓû§ddymis£¬ÃÜÂ룺ddymis,½ÇɫĬÈϸ³Óèdba¡£
²      ......

ASP.NET MVCµÄÇëÇóÉúÃüÖÜÆÚ

ÉúÃüÖÜÆÚ²½Öè¸ÅÀÀ
µ±ÎÒÃǶÔASP.NET MVCÍøÕ¾·¢³öÒ»¸öÇëÇóµÄʱºò£¬»á·¢Éú5¸öÖ÷Òª²½Ö裺
²½Öè1£º´´½¨RouteTable
µ±ASP.NETÓ¦ÓóÌÐòµÚÒ»´ÎÆô¶¯µÄʱºò²Å»á·¢ÉúµÚÒ»²½¡£RouteTable°ÑURLÓ³Éäµ½Handler¡£
²½Öè2£ºUrlRoutingModuleÀ¹½ØÇëÇó
µÚ¶þ²½ÔÚÎÒÃÇ·¢ÆðÇëÇóµÄʱºò·¢Éú¡£UrlRoutingModuleÀ¹½ØÁËÿһ¸öÇëÇó²¢ÇÒ´´½¨ºÍÖ´ÐкÏÊ ......

Asp.Netǰ̨µ÷Óúǫ́±äÁ¿

1. Asp.NetÖм¸ÖÖÏàËƵıê¼Ç·ûºÅ: < %=...%>< %#... %>< % %>< %@ %>½âÊͼ°Ó÷¨
´ð: < %#... %>: ÊÇÔڰ󶨿ؼþDataBind()·½·¨Ö´ÐÐʱ±»Ö´ÐУ¬ÓÃÓÚÊý¾Ý°ó¶¨
Èç: < %# Container.DataItem("tit") %>
< %= %>: ÔÚ³ÌÐòÖ´ÐÐʱ±»µ÷Ó㬿ÉÒÔÏÔʾºǫ́±äÁ¿Öµ
Èç:
*.aspxÖУº < %= ......

asp.net³£ÓÐС·½·¨ÕûÀí

  =================================<1>Ò³Ãæ¿ØÖÆ  ======================================
 <script type ="text/javascript"  src="../js/Calendar.js"charset ="gb2312"></script>
  <input ID="Text1" type="text" runat="server" onfocus="calendar()"/>
<!- ......

ASP.NET·þÎñÆ÷¿Ø¼þʹÓÃÖ®GridView

1         ASP.NET ·þÎñÆ÷¿Ø¼þGridViewʹÓÃ
±¾½Ì³Ì²»½éÉÜ·þÎñÆ÷¶Ë¿Ø¼þµÄ³ÊÏÖ£¬Ê¼þ´¦Àí£¬×´Ì¬µÈÀíÂÛ֪ʶ£¬Ö»½éÉÜ·þÎñÆ÷¶Ë¿Ø¼þµÄʹÓòÙ×÷£¬Èç¹ûÄú¶Ô·þÎñÆ÷¿Ø¼þµÄ֪ʶ¸ÐÐËȤ£¬Çë²ÎÔÄ¡¶ASP.NET·þÎñÆ÷¿Ø¼þ¸ß¼¶±à³Ì¡·
ÔĶÁ±¾ÎÄʱ×îºÃºÍ Îĵµ ¡¶ASP.NET·þÎñÆ÷¿Ø¼þʹÓÃÖ®Grid ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ