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

ASP.NET

¶þ¡¢Ïò ASP.NET ÍøÒ³Ìí¼Ó HTML ·þÎñÆ÷¿Ø¼þ
      HTML ·þÎñÆ÷¿Ø¼þÊÇÄú¿ÉÒÔ¶ÔÆä½øÐÐÅäÖÃÒÔ±ã¿ÉÒÔʹÓ÷þÎñÆ÷´úÂë¶ÔÆä½øÐбà³ÌµÄ HTML ÔªËØ¡£
1¡¢ÈçºÎ£ºÊ¹Óà ASP.NET Óï·¨ÏòÍøÒ³Ìí¼Ó HTML ·þÎñÆ÷¿Ø¼þ
      Ìí¼Ó HTML ·þÎñÆ÷¿Ø¼þºÍÌí¼ÓÈÎÒâ HTML ÔªËØÀàËÆ£¬²»Í¬Ö®´¦ÔÚÓÚÄúÐèÒª½«ÔªËØת»»Îª¿Ø¼þ£¬ÒÔ±ã¿ÉÒÔÔÚ·þÎñÆ÷´úÂëÖÐʹÓÃËü£¬¿ÉÒÔͨ¹ýÔÚ .aspx ÎļþÖÐÖ±½ÓÉùÃ÷ HTML ·þÎñÆ÷¿Ø¼þÏòÒ³ÖÐÌí¼ÓÕâÖֿؼþ¡£
Ìí¼Ó HTML ·þÎñÆ÷¿Ø¼þ
·¼üÈëÒªÓÃ×÷¿Ø¼þµÄÔªËØµÄ HTML Óï·¨¡£°üº¬¸ÃÔªËصij£¹æ HTML Óï·¨£¬ÁíÍâÇëÖ´ÐÐÒÔϲÙ×÷£º
·³ý·Ç¿Ø¼þÊǸ´ÔӿؼþµÄ×é³É²¿·Ö²¢ÇÒ½«Öظ´³öÏÖ£¨ÈçÔÚ Repeater¡¢DataList ºÍ GridView ¿Ø¼þÖУ©£¬·ñÔò½«¸Ã¿Ø¼þµÄ ID ÊôÐÔÉèÖÃΪ¶ÔÓÚ¸ÃҳΨһµÄÖµ¡£
·ÉèÖà runat="server" ÊôÐÔÒÔ½«ÔªËØת»»Îª¿Ø¼þ¡£
ÏÂÃæµÄʾÀýÑÝʾÈçºÎÉùÃ÷ HtmlInputText ¿Ø¼þ¡¢HtmlInputText ¿Ø¼þ¡¢HtmlInputButton ¿Ø¼þºÍ HtmlAnchor ¿Ø¼þ£º
<input id="Name" type="text" size="40" runat="server" />
<input type="submit" id="Enter" value="Enter" runat="server" />
Click <a id="Anchor1" runat="server" href="more.html">More </a> to see the next page.
 
2¡¢ÈçºÎ£º½« HTML ·þÎñÆ÷¿Ø¼þת»»Îª HTML ÔªËØ
      Èç¹ûÄú²»ÔÙÐèÒªÔÚ·þÎñÆ÷´úÂëÖÐ¶Ô HTML ·þÎñÆ÷¿Ø¼þ±à³Ì£¬ÔòÓ¦½«Æäת»»Îª´¿ HTML ÔªËØ¡£Ò³ÖеÄÿ¸ö HTML ·þÎñÆ÷¿Ø¼þ¶¼Ê¹ÓÃ×ÊÔ´£¬Òò´Ë×îºÃ¾¡Á¿¼õÉÙ ASP.NET ÍøÒ³±ØÐëʹÓõĿؼþµÄÊýÄ¿¡£
½« HTML ·þÎñÆ÷¿Ø¼þת»»Îª HTML ÔªËØ
·´Ó¿Ø¼þ±ê¼ÇÖÐÒƳý runat="server" ÊôÐÔ¡£
·Äú²»±ØÒƳý ID ÊôÐÔ¡£Èç¹û´æÔÚÒýÓøÃÔªËصĿͻ§¶Ë½Å±¾£¬ÔòÎñÇëСÐÄ£¬Ç§Íò²»ÒªÒƳý ID ÊôÐÔ¡£


Ïà¹ØÎĵµ£º

ASP.NET


ASP.NET ÅäÖÃÎļþ¹¦ÄÜÓë ASP.NET ³ÉÔ±×ʸñ¡¢ASP.NET ½ÇÉ«¹ÜÀíÒÔ¼°ÆäËû ASP.NET ¹¦ÄÜʹÓÃͬһ»ùÓÚÌṩ³ÌÐòµÄ½á¹¹¡£ASP.NET ÅäÖÃÎļþ¹¦ÄÜÊÇÒ»¸ö·Ö²ãϵͳ£¬ÆäÖÐÅäÖÃÎļþ¹¦ÄܵŦÄÜ£¨ÌṩÀàÐÍ»¯ÊôÐÔÖµ²¢¹ÜÀíÓû§±êʶ£©Óë»ù´¡Êý¾Ý´æ´¢Çø·ÖÀë¡£ÅäÖÃÎļþ¹¦ÄÜÒÀÀµÓÚÅäÖÃÎļþÌṩ³ÌÐò£¨Êý¾ÝÌṩ³ÌÐò£©À´Ö´Ðд洢ºÍ¼ìË÷ÅäÖÃÎļþÊôÐÔ ......

ÔõôÅжÏÒ»¸öASP.NETµÄ³ÌÐòÊÇ·ñÈý²ã¼Ü¹¹

 Èý²ã¼Ü¹¹(3-tier application) ͨ³£ÒâÒåÉϵÄÈý²ã¼Ü¹¹¾ÍÊǽ«Õû¸öÒµÎñÓ¦Óû®·ÖΪ£º±íÏֲ㣨UI£©¡¢ÒµÎñÂß¼­²ã£¨BLL£©¡¢Êý¾Ý·ÃÎʲ㣨DAL£©¡£Çø·Ö²ã´ÎµÄÄ¿µÄ¼´ÎªÁË“¸ßÄÚ¾Û£¬µÍñîºÏ”µÄ˼Ïë¡£
  1¡¢±íÏֲ㣨UI£©£ºÍ¨Ë×½²¾ÍÊÇÕ¹ÏÖ¸øÓû§µÄ½çÃ棬¼´Óû§ÔÚʹÓÃÒ»¸öϵͳµÄʱºòËûµÄËù¼ûËùµÃ¡£
  2¡¢ÒµÎñ ......

asp.net Òþ²ØͼƬµÄÕæʵµØÖ·

 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;
public partial class _De ......

Asp.Net ºº×Öת»»Æ´Òô

public class chs2py
{
 public chs2py()
 {
  //
  //TODO: ÔÚ´Ë´¦Ìí¼Ó¹¹Ô캯ÊýÂß¼­
  //
 }
    private static int[] pyvalue = new int[]{-20319,-20317,-20304,-20295,-20292,-20283,-20265,-20257,-20242,-20230,-20051,-20036,-20032,-20026,& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ