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

Cascading DropDownLists With ASP.NET and jQuery


Cascading drop down lists is a really nice feature for web developers. I thought it was time to write an article on how to do this using ASP.NET and jQuery. Well here’s one way of doing it. Before we get started, this example uses the latest version of jQuery which is 1.3.2. That can be downloaded from here. 
Open Visual Studio 2008 and create a new Web Application. For this article I’m not going to connect to a database. I’ve created two classes, Employee and EmployeeCars, which will store the data. Create two new classes and add the following code:
C#
public class Employee
   {
        public int Id { get; set; }
        public string GivenName { get; set; }
        public string Surname { get; set; }
 
        public List<Employee> FetchEmployees()
        {
            return new List<Employee>
                       {
                           new Employee {Id = 1, GivenName = "Tom", Surname = "Hanks"},
                           new Employee {Id = 2, GivenName = "Tiger", Surname = "Woods"},
                 &nb


Ïà¹ØÎĵµ£º

ÎÞˢи½¼þÉÏ´« £¨asp.net°æ £©

Ò»Ö±ÒÔÀ´¸½¼þÉÏ´«¶¼ÊǸöºÜÓôÃÆµÄÎÊÌ⣬¸Õ¿ªÊ¼ÊÇÀûÓÃjsÌí¼Óinput file È»ºóÒ»ÆðÌá½»À´ÊµÏÖ¶àÎļþÉÏ´«£¬ÔÚʹÓÃ163ÓÊÏäµÄʱºòºÜÊÇÏÛĽËüµÄ¸½¼þÉÏ´«²¿·Ö£¨Ñ¡ÔñÍêÎļþ¾ÍÌá½»£¬¿ÉÒÔ¶à¸öÎļþÒ»ÆðÉÏ´«£¬¶øÇÒ»¹¿ÉÒÔ»ñÈ¡ÉÏ´«½ø¶È£©£¬Õâʱ¾ÍºÜÏë×Ô¼ºÒ²Ð´¸öÄÇÑùµÄ¶«Î÷³öÀ´¡£
×î½ü²ÎÕÕÍøÉϵÄһЩ×ÊÁÏ£¬³õ²½µ½´ïÁËÔ¤ÆÚÄ¿±ê£¨¿Í»§¶Ë»ñÈ¡ÉÏ ......

asp.net membership

±¾ÎÄĿ¼£º
1.membership¼ò½é
2.membershipÔÚsql serverÖеÄÉèÖÃ
3.ÅäÖÃweb.config
4.´´½¨Óû§CreateUserWizard¿Ø¼þ
5.Óû§µÇ¼login¿Ø¼þ
6.ÏÔʾµ±Ç°Óû§µÄÃû³ÆLoginName¿Ø¼þ
7.¼ì²âÓû§µÄÉí·ÝÑé֤״̬µÄLoginStatus¿Ø¼þ
8.Ϊ²»Í¬Àà±ðÓû§³ÊÏÖ²»Í¬ÄÚÈݵÄLoginView¿Ø¼þ
9.¸ü¸ÄÃÜÂëµÄChangePassword¿Ø¼þ
10.×ÔÖúÕÒ» ......

ËÑË÷ÒýÇæ asp.net »ù±¾ÓÅ»¯

ÉèÖÃ×é¼þ
<configSections> 
    <section name="rewriter"  requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>
</configSections>
ÉèÖÃÄ£¿é
<httpModules>
 &n ......

asp.netÖеÄResolveUrl ÍêÃÀ½â¾ö·½°¸

¸ù¾ÝÎÒ¸öÈËʹÓÃASP.NETµÄ¾­Ñ飬ºÍͨ¹ýÔÚÍøÉÏËÑË÷¡£ÎÒ·¢ÏÖ£¬PageµÄResolveUrl·½·¨¸øÎÒÃÇ´øÀ´ÁËһЩ±È½ÏÑÏÖØµÄÎÊÌâ¡£
     ×î³£¼ûµÄÎÊÌâÊÇÔÚÒ³Ãæ»ò¿Ø¼þÒÔÍâµÄ·¶Î§²»ÄÜʹÓÃËü¡£
     ÆäËûµÄÎÊÌâ¶¼ÊÇbug¡£ÈçËü²»ÄÜÕýÈ·´¦ÀíһЩÄã¸øµÄURL¡£ÀýÈ磬³¢ÊÔ Page.ResolveUrl("~/test.a ......

asp.net ÍøÕ¾°²È«½â¾ö·½°¸

      1¡¢sql×¢Èë©¶´¡£
  
   ½â¾ö°ì·¨£ºÊ¹Óô洢¹ý³Ì£¬²ÎÊý²»ÒªÓÃ×Ö·û´®Æ´½Ó¡£¼òµ¥¸Ä½ø°ì·¨£ºÊ¹ÓÃSqlHelperºÍOledbHelper
  
   2¡¢¿çÕ¾½Å±¾Â©¶´
  
   ½â¾ö°ì·¨£º“ĬÈϽûÖ¹£¬ÏÔʽÔÊÐ픵IJßÂÔ¡£¾ßÌå²Î¿¼£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ