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

ÉèÖÃ×Ô¶¨ÒåASP.NET·þÎñÆ÷¿Ø¼þTagPrefixµÄ¼¸ÖÖ·½·¨

ÕâÁ½Ìì¿´¡¶µÀ²»Ô¶ÈË-----ÉîÈë½âÎöASP.NET2.0¿Ø¼þ¿ª·¢¡·Õâ±¾Ê飬¿´ÍêµÚ¶þÕÂÄÚÈݺó£¬Ïë×ܽáÏ“ÉèÖÃ×Ô¶¨ÒåASP.NET·þÎñÆ÷¿Ø¼þTagPrefixµÄ¼¸ÖÖ·½·¨”£¬ÒÔ±ãÒÔºó²éÔÄ£¬ÒÔÏÂÃæcode±àдµÄ¿Ø¼þΪÀý£¬ÓÉÓÚÖص㲻Êǿؼþ±àд£¬ËùÒÔдÁ˸ö·Ç³£¼òµ¥µÄ¿Ø¼þ£¬¹ÃÇÒ½ÐËüEmailInput
Code
 1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel;
 4using System.Text;
 5using System.Web;
 6using System.Web.UI;
 7using System.Web.UI.WebControls;
 8
 9namespace ServerControl
10{
11    [ToolboxData("<{0}:EmailInput runat=server></{0}:EmailInput>")]
12    public class EmailInput : CompositeControl
13    {
14        protected RegularExpressionValidator _regValidator;
15        protected RequiredFieldValidator _rqrValidatator;
16        protected TextBox _input;
17        protected override HtmlTextWriterTag TagKey
18        {
19            get
20            {
21                return HtmlTextWriterTag.Div;
22            }
23        }
24        protected override void CreateChildControls() 
25        {
26            Controls.Clear();
27       


Ïà¹ØÎĵµ£º

ASP.NET MVC ѧϰÌù

1. µ±ÔÚÒ»¸ö Action ÖÐ ¶ÔÏàͬ¹¦ÄܵÄ2¸ö¿Ø¼þ½øÐи³Öµ 
     List<SelectListItem> WebSite = GetWebSite();
ViewData["SiteNames"] = WebSite;
if (WebSite.Count > 0)
WebSite.RemoveAt(0);
ViewData["SiteName"] = WebSite;
   Ò³ÃæÏÔʾʱ»áͳһÒÔ WebSite ......

¡¶ASP.NET MVC°¸Àý½Ì³Ì¡·Ë÷ÒýÌù

      ±¾ÏµÁÐÎÄÕÂͨ¹ýÒ»¸öÐéÄâµÄ°¸Àý——¡¶MVC¹«¸æ·¢²¼ÏµÍ³¡·µÄ¿ª·¢¹ý³Ì£¬È«ÃæչʾÁËASP.NET MVCµÄ»ù±¾Ê¹Ó÷½·¨£¬Í¬Ê±ÔÚÌÖÂÛÁËÕâ¸ö¿ò¼ÜµÄ»ù±¾Ô­Àí¡£
      Õâ¸öÎÄÕÂϵÁеÄÄ¿µÄ¾ÍÊÇʹÅóÓÑÃǸüÇáËɵÄÈëÃÅASP.NET MVC¡£
      Õâ¸öϵ ......

asp.netÒ¹»°Ö®Ê®Ò»£ºweb.configÏê½âÊÕ²Ø

ÔÚ¿ª·¢Öо­³£»áÓöµ½ÕâÑùµÄÇé¿ö£¬ÔÚ²¿Êð³ÌÐòʱΪÁ˱£ÃÜÆð¼û²¢²»½«Ô´´úÂëËæÏîĿһͬ·¢²¼£¬¶øÎÒÃÇ¿ª·¢Ê±µÄ»·¾³Ó벿Êð»·¾³¿ÉÄܲ»Ò»Ö£¨±ÈÈçÊý¾Ý¿â²»Ò»Ñù£©£¬Èç¹ûÔÚ´úÂëÖб£´æÕâЩÅäÖÃÕâЩÐÅÏ¢²¿ÊðʱÐèÒªµ½Óû§ÄÇÀï¸ü¸Ä´úÂëÔÙÖØбàÒ룬ÕâÖÖ²¿Êð·½Ê½·Ç³£Âé·³¡£
ÔÚ.net ÖÐÌṩÁËÒ»ÖÖ±ã½ÝµÄ±£´æÏîÄ¿ÅäÖÃÐÅÏ¢µÄ°ì·¨£¬ÄǾÍÊÇÀûÓÃÅäÖ ......

ASP.NETµÄĬÈϵ÷Óúǫ́º¯Êý

ÒÔÏÂÊÇϵͳ×Ô¶¯Éú³ÉµÄ»Øµ÷º¯Êý
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['Form1'];
if (!theForm) {
    theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.ons ......

asp.net ·¢²¼ÍøÕ¾

asp.net ·¢²¼ÍøվʱÓÐÈý¸öÑ¡Ï
1¡¢ÔÊÐí¸üдËÔ¤±àÒëÕ¾µã£ºasp.net web Ò³Ãæͨ³£°üº¬Á½¸öÒ³Ã棬һ¸ö¼´ .aspx Ò³£¬»¹ÓÐÒ»¸ö .aspx.cs Îļþ£¬ºóÒ»¸öÎļþÊÇ»ù±¾Î¯ÍеÄʼþÏìÓ¦Îļþ´úÂ룻´Ë´¦ÔÊÐí¸üдËÔ¤±àÒëÕ¾µãµÄÒâ˼¾ÍÊÇ£º.aspx Ò³¿É¸ù¾ÝÐèÒª½øÐÐÒ»¶¨µÄ¸üУ¬¶ø .aspx.cs ±àÒë³ÉµÄ .dll ±£³Ö²»±ä£»ÁíÍ⣬Èç¹û·¢²¼Íøվʱֻ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ