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

Êý×Ö·ÖÒ³µ¼º½Ìõ (asp.net C#)


using System;
using System.Data;
using System.Configuration;
using System.Collections;
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;
using System.Text;
using apk.DatabaseEx;
using System.Data.SqlClient;
public partial class MyCeShiPage : System.Web.UI.Page
{
     protected void Page_Load(object sender, EventArgs e)
     {
         if (!IsPostBack)
         {
             if (this.Request.Params["currentPage"] == null)
             {
                 currentpage = 1;
             }
             else
             {
                 currentpage =Convert.ToInt32(Request.Params["currentPage"]);
             }
             bbb();
             //string kk = PageData();
             //Response.Write(kk);
           
         }
     }
     public static int pages;             


Ïà¹ØÎĵµ£º

ÈÃViewState ±£´æÓÚ·þÎñÆ÷¶ËÎļþ (asp.net C#)

½«ViewState³Ö¾Ã»¯±£³ÖÔÚ·þÎñÆ÷¶ËÎļþµÄ´úÂ룬ÕâÑùViewState²»Õ¼ÓÃÍøÂç´ø¿í£¬Òò´ËÆä´æÈ¡Ö»ÊÇ·þÎñÆ÷µÄ´ÅÅ̶Áȡʱ¼ä¡£²¢ÇÒËüºÜС£¬¿ÉÒÔ˵ÊÇ´ÅÅÌËæ±ãתһȦ¾ÍÄÜͬʱ¶ÁÈ¡ºÃ¶àViewState£¬Òò´Ë¿ÉÒÔ˵“²»Õ¼Ê±¼ä”¡£ÎªÁËÔÙ“²»Õ¼´ÅÅÌʱ¼ä”£¬ÎÒ»¹Ê¹ÓÃÁË»º´æ¡£
´´½¨Ò»¸ö»ùÀà:
public class
BasePage : Sys ......

ASP.NETÈ¥µôHTML±ê¼Ç

using System;
using System.Web;
using System.Text.RegularExpressions;
public static string NoHTML(string Htmlstring)  
  {  
   //ɾ³ý½Å±¾  
   Htmlstring   =   Regex.Replace(Htmlstring,@"<script[^>]*?>.*?&l ......

asp.netÌá½»html±ê¼ÇºóµÄ×îÓÅ°²È«´¦Àí

ASP.Net 1.1ºóÒýÈëÁ˶ÔÌá½»±íµ¥×Ô¶¯¼ì²éÊÇ·ñ´æÔÚXSS(¿çÕ¾½Å±¾¹¥»÷)µÄÄÜÁ¦¡£µ±Óû§ÊÔͼÓÃÖ®ÀàµÄÊäÈëÓ°ÏìÒ³Ãæ·µ»Ø½á¹ûµÄʱºò£¬ASP.NetµÄÒýÇæ»áÒý·¢Ò»¸ö HttpRequestValidationExceptioin¡£Ä¬ÈÏÇé¿öÏ»᷵»ØÈçÏÂÎÄ×ÖµÄÒ³Ã棺
ÒÔÏÂÊÇÒýÓÃƬ¶Î£º
Server Error in '/YourApplicationPath' Application
A potentially dangerou ......

ASP.NET¿Ø¼þ¿ª·¢Ö®ÊôÐÔÉè¼Æʱ֧³Ö

Ô­ÎĵØÖ·:http://blog.csdn.net/ChengKing/archive/2009/01/01/3678774.aspx
ÊôÐÔµÄÉè¼ÆʱÌØÐÔ
.NET Framework
Ϊ
¿Ø¼þÉè¼ÆʱÊôÐÔÌṩÁ˺ܶà·á¸»µÄÀ࣬ÕâЩÊôÐԵŦÄܷdz£Áé»î£¬¿ØÖÆ·¶Î§¹ã·º£¬±ÈÈç¿ÉÒÔ¿ØÖƸÃÊôÐÔÔÚÊôÐÔ´°¿ÚÖеÄÏÔʾģʽ£¬È磺ÊÇ·ñÔÚÊôÐÔ´°¿ÚÖÐÏÔʾ¸ÃÊô
ÐÔ£¬Ò²¿ÉÒÔÖ¸¶¨´ËÊôÐÔ±ØÐë½ÓÊÕÖµÀàÐÍÃèÊö£¬°´×é· ......

c# ¿ªÔ´Ò»ÀÀ±í

C#¿ªÔ´ÏîÄ¿Ò»ÀÀ±í£¨°üº¬¹úÄں͹úÍâ)
2009Äê05ÔÂ08ÈÕ ÐÇÆÚÎå ÏÂÎç 04:18
http://sourceforge.net/projects/mediaportal/
ÔÚSharpDevelopÀïµ÷ÊÔ³ÌÐò
SharpDevelopÊÇÒ»¸ö¿ªÔ´µÄC#¼¯³É¿ª·¢»·¾³£¬¿ÉÒÔÔÚhttp://sourceforge.net/project/showfiles.php?group_id=17610&package_id=117376ÏÂÔص½Ô´´úÂëºÍ¶þ½øÖÆ¿ÉÖ´ÐÐÎļþ¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ