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

asp.net ȨÏÞÉèÖÃ

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;
/// <summary>
/// Pub µÄժҪ˵Ã÷
/// </summary>
public static class Pub
{
//¶ÔÓ¦Ò»¸ö¹«¹²Àà
    //µÃµ½ÊÇ·ñÓÐÄ£¿éȨÏÞ·½·¨
    // 11111111;10001111 µÚÒ»¶Î¾Í´ú±íºÏͬ£¬µÚ¶þ¶Î´ú±íÒDZí
    public static bool bModuleRole(string strRole, string ModuleType)
    {
        string[] ArryRole=strRole.Split(';');
        string subRole = "00000000";
        switch (ModuleType)
        {
            case "ht":
                subRole = ArryRole[0];
                break;
            case "yb":
                subRole = ArryRole[1];
                break;
       
        }
        //Èç¹ûÈ«²¿ÊÇÁ㣬ÄÇôûȨÏÞ
        if (int.Parse(subRole)>0)
        {
            return true;
        }
        else
        {
          &nbs


Ïà¹ØÎĵµ£º

Asp.net³£ÓõÄ51¸ö´úÂë(·Ç³£ÊµÓÃ)

Asp.net³£ÓõÄ51¸ö´úÂë(·Ç³£ÊµÓÃ)
1.//µ¯³ö¶Ô»°¿ò.µã»÷תÏòÖ¸¶¨Ò³Ãæ
CODE:
Response.Write(&quot;<script>window.alert('¸Ã»áԱûÓÐÌá½»ÉêÇë,ÇëÖØÐÂÌá½»£¡')</script>&quot;);
Response.Write(&quot;<script>window.location ='http://www.51aspx.com/bizpulic/upmeb.aspx'</script&g ......

ASP.NET ·þÎñÆ÷¿Ø¼þÉúÃüÖÜÆÚ

Ô­ÎÄ£ºÁõÎä
| ASP.NET ·þÎñÆ÷¿Ø¼þÉúÃüÖÜÆÚ
âÒ¶¡½âÅ£:×ÝÏòÇÐÈëASP.NET 3.5¿Ø¼þºÍ×é¼þ¿ª·¢¼¼Êõ
   µÚÒ»Õ½²ÁËһЩ·þÎñÆ÷¿Ø¼þµÄ»ù±¾ÖªÊ¶£¬
ÆäÖÐasp.net·þÎñÆ÷¿Ø¼þµÄÉúÃüÖÜÆÚ£¬ÊÇ¿ª·¢¿Ø¼þµÄµÚÒ»²½£¬Ò²ÊǺËÐÄ¡£
·þÎñÆ÷¿Ø¼þÉúÃüÖÜÆÚ°üÀ¨ÒÔÏÂ11¸ö½×¶Î£º
³õʼ»¯£¨OnInit)£ºÍê³É¿Ø¼þµÄ³õʼ»¯¼°´ò¿ª¿Ø¼þµÄÊÓͼ״̬¸ ......

Asp.net mvcÓëspring.netÕûºÏ

»ù±¾½á¹¹£º
µÚÒ»²½×¼±¸ÊµÌåÀࣺ
[Serializable]
    public class Person
    {
        /// <summary>
        /// ±àºÅ
        /// </summary>
 &n ......

asp.netÖÐSystem.DateTime.Now.ToString()µÄһЩÓ÷¨


Asp.netÖеÄÈÕÆÚ´¦Àíº¯Êý
     //2007Äê4ÔÂ24ÈÕ
     this.TextBox6.Text = System.DateTime.Now.ToString("D");
     //2007-4-24
     this.TextBox7.Text = System.DateTime.Now.ToString("d");
 &nb ......

asp.net mvc »·¾³ÅäÖÃÎÊÌâ

 ½üÆÚÓöµ½asp.net mvc »·¾³ÅäÖÃÎÊÌ⣬ËäÈ»¶¼°²×°ÉÏÈ¥ÁË£¬µ«ÊÇÔÚ´´½¨ADO.net ʵÌåÊý¾ÝÄ£ÐÍÍê³Éºó£¬»áÆÈʹvs´°¿Ú¹Ø±Õ£¬µ±ÄãÖØдò¿ªºó·¢ÏÖmodelsÎļþÖÐʲôҲûÓУ¬µ«ÊÇÔÚÏîÄ¿ËùÔÚµÄλÖã¬modelsÖÐÓÐÄã¸Õ½¨µÄʵÌåÊý¾ÝÄ£ÐÍ£¬¿ì°ÑÎÒÓôÃÆËÀÁË£¡Õâµ½µ×ÊÇÔõô»ØÊ£¿
ÎÒÓõÄÊÇVS2008 ¼òÌåÖÐÎÄרҵ°æ
AspNetMVC 1.0
vs2008 s ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ