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

Ò»Ì×»ùÓÚasp.netµÄ°²È«Ð£Ñé»úÖÆÓ¦ÓÃÄ£ÐÍ £¡

using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
using System.Text;
using System.Web.UI.MobileControls;
using System.Collections.Generic;
/// <summary>
///SQLFilter µÄժҪ˵Ã÷
/// </summary>
public static class SQLFilter
{
    #region SQL×¢Èë¹ýÂË
    /// <summary>
    /// SQL×¢Èë¹ýÂË
    /// </summary>
    /// <param name="sqlParems">Òª¹ýÂ˵IJÎÊýÊý×é</param>
    /// <returns>Èç¹û²ÎÊý´æÔÚ²»°²È«×Ö·û£¬Ôò·µ»Øfalse</returns>
    // Ó¦ÓÃʾÀý
    // if(TheManagerUtils.SqlFilter(new string[] { "ss","kk" }, this.Page) == false)
    // {
    //     //Ö±½ÓÌø×ªµ½ÏàÓ¦µÄ´íÎóÒ³Ãæ
    //     Response.Redirect("WelfarePage.aspx");
    //     return;
    // }
    public static bool SqlFilter(string[] sqlParems, Page p)
    {
        StringBuilder parems = new StringBuilder();
        #region ÓйطǷ¨Êý¾ÝµÄÏà¹ØÎ¬»¤
        //³£ÓõÄSQL¶ñÒâ×Ö·ûÆÁ±Î
        string sql = "insert|delete|update|select|exec|script";
        try
        {
            //»ñÈ¡ÅäÖÃÔÚWeb.configÖÐ×îеÄSQL¶ñÒâ×Ö·ûÆÁ±Î
            sql = System.Configuration.ConfigurationSettings.AppSettings["


Ïà¹ØÎĵµ£º

asp.netÒ³Ãæ×ªÏò

1.<a href=”test.aspx”></a>
2.ÕâÊÇ×î³£¼ûµÄÒ»ÖÖתÏò·½·¨;
HyperLink¿Ø¼þ
1.Asp.net ·þÎñÆ÷¶Ë¿Ø¼þ ÊôÐÔNavigateUrlÖ¸¶¨ÒªÌø×ªµ½µÄUrlµØÖ·
2.NavigateUrlÊÇ¿ÉÒÔÔÚ·þÎñÆ÷¶ËʹÓôúÂëÐ޸ģ¬Õâ¸öÇø±ðÓÚ<a>
3.ÓÉÓÚHyperLink±¾ÉíûÓÐʼþËùÒÔÒªÔÚ·þÎñÆ÷¶ËÆäËüʼþÖÐÉèÖÃNavigateUrl
4.´ ......

asp.net ¼òÃ÷°²×°ÊÖ²á


ASP.NetÓÖ½ÐASP+
£±¡¢ÏµÍ³ÒªÇó
=====================
· CPU: Intel Pentium II-class 300 MHz (Intel Pentium III-class 600 MHz recommended)
· RAM: 96 MB (128 MB recommended)
· Available hard disk space (for install): 250 MB
· Available hard disk space (post install) ......

asp.net·Ö²¿Àà(Partial Classes)

·Ö²¿Àà(Partial Classes)
C# 2.0 ¿ÉÒÔ½«Àà¡¢½á¹¹»ò½Ó¿ÚµÄ¶¨Òå²ð·Öµ½Á½¸ö»ò¶à¸öÔ´ÎļþÖУ¬ÔÚÀàÉùÃ÷ǰÌí¼Ópartial¹Ø¼ü×Ö¼´¿É¡£
ÀýÈ磺ÏÂÃæµÄPartialTestÀà
class PartialTest
{
string Str_FieldTest;
int Int_FieldTest;
public void DoTest()
{
Debug.Print("Test");
}
}
¿ÉÔÚ²»Í¬Ô´ÎļþÖÐд³ÉÏÂÃæÐÎʽ£º
Ò»¸ö ......

asp.net¿Ø¼þ¿ª·¢»ù´¡(1)

asp.net±¾ÉíÌṩÁËºÜ¶à¿Ø¼þ,Ìṩ¸øÎÒÃÇÕâЩ±È½ÏÀÁ¶èµÄÈËʹÓÃ,ÎÒÈÏΪ¿Ø¼þµÄ×÷ÓþÍÔÚ´Ë,ÒòΪÎÒÃDz»ÏëÖØ¸´¹¤×÷,ËùÒÔÒª´´½¨Ëü,Õâ¸ö±¾Éí±ãÊÇÒ»¸öÐèÇóµÄ¹ØÏµ,ËùÒÔѧϰ¿Ø¼þ¿ª·¢ºÜÓÐÒâ˼.
wroxÍøÕ¾ÉÏÓб¾Êé Professional ASP.NET 2.0 Server Control and Component Development
ÏÖÔÚ»¹Ã»Óгö°æ,µ«ÍøÕ¾ÉϷųöÁË´úÂë,ËùÒÔÕýºÃÏÂÔØ¹ý ......

ASP.NET×é¼þÉè¼ÆÖ®ÉúÃüÖÜÆÚÏê½â

ASP.NET×é¼þÉè¼ÆÖ®ÉúÃüÖÜÆÚÊÇÊ²Ã´ÄØ£¿ÈÃÎÒÃÇÀ´¿´¿´£º
µ±Ò»¸öASP.NETÒ³Ãæ±»ÇëÇóºó£¬Ò»¸öpageʵÀý±»Éú³É£¬¿ªÊ¼×Ô¼ºµÄÂß¼­£¬×îÖÕ·µ»ØHTMLÁ÷¸øÓû§¶Ë¡£¹¹³ÉÂß¼­´¦ÀíµÄÊÇpageÖдæÔڵķþÎñÆ÷¶Ë¿Ø¼þÒÔ¼°¿Ø¼þ¼äµÄ½»»¥£¬²¢ÇÒÔÚÒ³Ãæ½áÊøÇ°·þÎñÆ÷¿Ø¼þÃDZ»Ïú»Ù£¨ÊÓ.netµÄ»ØÊÕ²ßÂÔ¶ø¶¨£©¡£ÄÇôÕâЩ¿Ø¼þÔڶ̶̵ÄÒ³Ãæ´¦Àí¹ý³ÌÖо­ÀúÁË´´½¨ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ