Êý×Ö·ÖÒ³µ¼º½Ìõ (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;
Ïà¹ØÎĵµ£º
----------------------ModalPopupExtender
D:\sourceforge\asp.net\AjaxControlToolkit_net20\SampleWebSite\ModalPopup\ModalPopup.aspx
// linkbutton1Ôö¼ÓÀ©Õ¹ModalPopupExtenderÊôÐÔ:
<asp:LinkButton ID="LinkButton1" runat="server" Text="Click here to change the paragraph styl ......
Ëü»¹»áÔÚÖ¸¶¨µÄÊý¾Ý¿âÖÐÔö¼Ó¼¸¸ö´æ´¢¹ý³Ì£¬ÓÃÀ´ÈÃASP.NETÒýÇæ²éѯ׷×ÙµÄÊý¾Ý±íµÄÇé¿ö¡£
È»ºó£¬Ëü»á¸øÎÒÃÇҪ׷×ÙµÄTable¼ÓÉϼ¸¸öTrigger£¬·Ö±ð¶ÔÓ¦µ½Insert¡¢Update¡¢Delete²Ù×÷£¬Õ⼸¸öTriggerµÄÓï¾ä·Ç³£¼òµ¥£¬¾ÍÊǰѓAspNet_SqlCacheTablesF ......
//TransmitFileʵÏÖÏÂÔØ
protected void Button1_Click(object sender, EventArgs e)
{
/*
΢ÈíΪResponse¶ÔÏóÌṩÁËÒ»¸öÐµķ½·¨TransmitFileÀ´½â¾öʹÓÃResponse.BinaryWrite
&nbs ......
using System;
using System.Web;
using System.Text.RegularExpressions;
public static string NoHTML(string Htmlstring)
{
//ɾ³ý½Å±¾
Htmlstring = Regex.Replace(Htmlstring,@"<script[^>]*?>.*?&l ......
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ÏÂÔØµ½Ô´´úÂëºÍ¶þ½øÖÆ¿ÉÖ´ÐÐÎļþ¡ ......