Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : asp.net

asp.net¿ªÔ´CMSÍƼö

Ëæ×ÅÍøÂç¼¼ÊõµÄ·¢Õ¹£¬Ä¿Ç°¹úÄÚCMSµÄ¿ª·¢ÉÌÔ½À´Ô½¶à£¬¸÷×Ô¶¼ÓÐÆä¶ÀÌصÄÓÅÊÆ£¬´ó¼ÒÔÚÑ¡ÔñµÄʱºò¾õµÃÑÛ»¨çÔÂÒ£¬²»ÖªµÀÑ¡ÔñÄĸö±È½ÏºÃ£¬ÎÒ¸öÈËÈÏΪ¿ªÔ´µÄCMS»¹ÊÇÊʺÏÎÒÃÇѧϰ¼°Ñо¿Ê¹Óã¬Ï±߾ͼ¸¸ö¹úÄÚµÄasp.net¿ªÔ´CMS½øÐмòµ¥½éÉÜ¡£
1.We7 CMS
We7 CMSÊÇÓÉÎ÷²¿¶¯Á¦¿ª·¢µÄÒ»¿î³ä·Ö·¢¾ò»¥ÁªÍøWeb2.0£¨È粩¿Í¡¢RSSµÈ£©µÄÐÅÏ¢×éÖ¯ÓÅÊÆ£¬½«ÆäÀíÄîÀûÓõ½Õþ¸®ÆóÊÂÒµÍøÕ¾µÄ¹¹½¨¡¢×éÖ¯¡¢¹ÜÀíÖеÄÍøÕ¾½¨ÉèºÍ¹ÜÀí·½ÃæµÄ²úÆ·¡£
ϵͳĿ±ê£º½Ð´´½¨ÍøÕ¾±ä³ÉÒ»ÖÖ¼òµ¥µÄÒÕÊõ´´×÷£¬¼òµ¥Èç´´½¨²©¿Í¡£
ϵͳÌصã
¼òµ¥ÖÁÉÏ£»“Ò»¿´¾Í»á”ÊÇÎÒÃǵĴ´×÷ÀíÄÈç¹ûÔÚÄÄÀïÄú¿´Á˲»»áÓã¬ÇëÄú¸æËßÎÒÃÇ¡£
DZÁ¦ÎÞÏÞ£»À´×ÔWebEngine2007Ѫͳ£¬¼Ü¹¹´óÐÍÐÐÒµÃÅ»§¡¢Õþ¸®ÃÅ»§ÍøÕ¾µÄºËÐÄÒýÇæ¡£C-ModelingÄÚÈÝÄ£Ðͼ¼Êõ£¬½â¾ö¶àÖÖÊý¾Ý½á¹¹¹ÜÀíµÄÄÑÌ⣬ʹCMS¿ÉÒÔ·¢»Ó³¬³öCMS·¶³ëµÄµÄÄÜÁ¿¡£
ÍøÕ¾×ÔÉú³¤£»×ßÏòվȺ£¬Ç¿´óµÄÔËÓª·ÖÎö¹¤¾ß£¬ÍŶÓЭ×÷Ìåϵ£¬ÒýÇæ×Ô¶¯Éý¼¶£¬ÕâÒ»Çж¼ÊÇΪÄú´òÔì¿ÉÉú³¤µÄÍøÕ¾¶ø×ö×¼±¸¡£
¿ª·Å¡¢¿ªÔ´£»Ç¿µ÷¿ª·ÅÊǵÚÒ»Éú²úÁ¦£¬µÚÒ»¿îÍêÈ«¿ª·ÅÔ´´úÂëµÄ»ùÓÚAsp.netµÄCMSϵͳ£¬ÎªÄú´øÀ´¸ü¶à¾ªÏ²£¡
¹ÙÍø£ºhttp://www.westengine.com
2.NetCMS
NetCMSÊÇ»ùÓÚASP.NET2.0¿ª·¢µÄÍøÕ¾ÄÚÈ ......

ASP.NET»­ÃæÌøתʵÏÖ¼°Æä´«ÖµÎÊÌâ½â¾ö·½°¸


±¾ÎĽéÉÜÁËASP.NET»­ÃæÌøתµÄʵÏÖÒÔ¼°Æä´«ÖµÎÊÌâµÄ½â¾ö·½°¸¡£»­ÃæÌøתºÍ´«ÖµÎÊÌ⣬һֱÒÔÀ´¶¼ÔÚÀ§ÈÅןոսӴ¥asp.net webÓ¦ÓóÌÐòµÄ¿ª·¢Õߣ¬Ï£Íû±¾ÎÄÄܶԳõѧÕßÃÇÓÐËù°ïÖú¡£
»­ÃæÌøתºÍ´«ÖµÎÊÌ⣬һֱÒÔÀ´¶¼ÔÚÀ§ÈÅןոսӴ¥asp.net webÓ¦ÓóÌÐòµÄ¿ª·¢Õߣ¬ÏÖÂÞÁÐÌøת·½·¨ºÍ´«Öµ·½Ê½¹©´ó¼Ò²Î¿¼£»ÒòΪÎÒ±¾Éí²ÎÓëµÄÏîÄ¿¹¦ÄÜÒ²±È½Ïµ¥Ò»£¬¶Ô´Ë¿ÉÄÜÈÏʶ±È½ÏÏÁ°¯£¬Ï£Íû¸÷λ¶à¸øÌáʾ°ïÖúÎÒ½ø²½¡£´ËÎÄΪÎÒÏîÄ¿×éнüÔ±¹¤½â»óͬʱÓë¸÷λ½»Á÷¹²Ãã¡£
asp.net web»­ÃæÌøתµÄ·½·¨ÈçÏ£º
1.Server.Execute
Server.Execute²¢²»ÄÜÍêÈ«ËãÊÇ»­ÃæÌøת·½·¨£¬ËüÊÇʵÏÖ¶¯Ì¬µ÷ÓÃÒ³Ãæ²¢äÖȾÆäÄÚÈÝ·´Ó³µ½µ±Ç°Ò³ÃæµÄ·½·¨£¬Ö®ËùÒÔ·ÅÔÚÕâÀïÊÇÏëÓëServer.TransferµÈ×öÒ»¸ö±È½Ï¡£Ê¹Óó¡¾°Ö÷ÒªÊÇÓГ°üº¬”¹ØϵµÄÒ³Ãæ½øÐж¯Ì¬µ÷ÓõÄʱºò£¬ÀýÈçWebForm2.aspx×÷ΪWebForm1.aspxµÄÒ»²¿·Ö±íʾÔÚºóÕߵĻ­ÃæÖУ¬Ôò¿Éͨ¹ýÔÚWebForm1Êʵ±µÄλÖÃÉùÃ÷< % Server.Execute("~/WebForm2.aspx") %>ʵÏÖ¡£
2.Server.Transfer
×î½ÚÊ¡×ÊÔ´µÄ»­ÃæÌøת·½Ê½£¬¿É±£´æÇ°»­ÃæµÄURL²éѯ×Ö·û´®ºÍ±íµ¥ÐÅÏ¢£¬¿ÉÔÚÌøתĿ±ê»­ÃæÖÐʹÓÃPreviousPage²éѯÌøתǰ»­ÃæÊôÐÔ¡£Server.Transfer¹ý³ÌÖÐûÓз¢ÉúHTTPÇëÇó£¬ËùÒÔ ......

asp.net Ò³Ãæ¼ä´«ÖµÓëÌøתµÄÇø±ð

ÔÚa.aspxÌøתµ½b.aspx
ͨ¹ýServer.Transfer("b.aspx") ÓëResponse.Redirect("b.aspx")µÄÇø±ð
Èç¹ûÊÇͨ¹ýͨ¹ýServer.Transfer()ÔÚa.aspxÌøתµ½b.aspxµÄ£¬ÔòÔÚb.aspxÒ³Ã棬¿ÉÒÔ²éÕÒµ½±£´æÔÚa.aspxÒ³ÃæÖÐµÄ ¿Ø¼þÖеÄÖµ£¬Èç¹ûÊÇResponse.Redirect(),ÔòµÃ²»µ½µ½a.aspxÒ³ÃæÖпؼþµÄÖµ¡£
Èç¹ûÊÇͨ¹ýServer.Transfer("b.aspx"),Ôò¿ÉÒÔ֪ͨÒÔÏ·½Ê½µÃµ½ ±£ÁôÔÚ a.aspxÖÐÀýÈç Label,HiddenFieldÖеÄÖµ
HiddenField hfOrderID = new HiddenField();
HiddenField hfPayMoney = new HiddenField();
if (Page.PreviousPage != null)
{
try
{¡¡¡¡
¡¡¡¡¡¡¡¡//
//²éÕÒĸ°æÒ³ ,
MasterPage masterPage = (MasterPage)Page.PreviousPage.Controls[0];
//
//²éÕÒÈÝÆ÷
ContentPlaceHolder contentPlaceHolder = (ContentPlaceHolder)masterPage.FindControl("ContentPlaceHolder3");
System.Web.UI.UserControl userControl = (System.Web.UI.UserControl)contentPlaceHolder.FindControl("MyOrder1");
//
//²éÕÒµ½¶ÔÓ¦µÄÊý¾Ý´«ËÍHiddenField
hfOrderID = (HiddenField)userControl.FindControl("hfOrderID");
hfPayMoney = (HiddenField)userControl.Find ......

ÀíÇåasp.netÒ³ÃæÌøתºÍÒ³Ãæ´«ÖµÎÊÌâ

ËäÈ»Õâ¸ö¶«Î÷ºÜ»ù±¾£¬µ«ÊÇ×Ô¼ºÓÐʱºò»¹ÊǺܻìÂÒ£¬ËùÒÔ½ñÌì¾ÍССµÄÕûÀíÁËÏ£¬Ïȸø´ó¼Ò´øÀ´µÄÊÇÒ³ÃæµÄÌøתÎÊÌâ¡£
ÒÔÏÂÊÇËÄÖÖ ´ò¿ªÐÂÒ³ÃæµÄ·½·¨.
1. Ö±½ÓתÏòÐÂÒ³Ãæ,Ô­Ò³Ãæ²»±£Áô
Response.Redirect("Webform6.aspx?id=1");
2. Ö±½ÓתÏòÐÂÒ³Ãæ,Ô­Ò³Ãæ²»±£Áô
nServer.Transfer("Webform6.aspx?id=1",true);
3. ´ò¿ªÐÂÒ³Ãæ,Ô­Ò³Ãæ±£Áô,µ«ÊÇÁ½¸öÒ³Ã涼¿ÉÒÔ²Ù×÷.
nResponse.Write("<script>window.open('Webform6.aspx?id=1','_blank','');</script>");
4. ´ò¿ªÐÂÒ³Ãæ,Ô­Ò³Ãæ±£Áô,µ«Ö»ÓÐ×ÓÒ³Ãæ¿ÉÒÔ²Ù×÷.Ö»ÓйرÕÁË×ÓÒ³Ãæ,¸¸Ò³Ò³²ÅÄܲÙ×÷. ½ÓÏÂÀ´ÊÇ´øÀ´µÄ²»Í¬Ò³Ãæ¼ä´«ÖµµÄÎÊÌâ
1. Server.TransferÖ»Äܹ»×ªÌøµ½±¾µØÐéÄâĿ¼ָ¶¨µÄÒ³Ã棬¶øResponse.RedirectÔò¿ÉÒÔÌøµ½ÆäËüÐéÄâĿ¼ָ¶¨µÄÒ³Ãæ,Ê®·ÖÁé »î£»
2. Server.Transfer¿ÉÒÔ½«Ò³Ãæ²ÎÊý·½±ã´«µÝµ½Ö¸¶¨Ò³Ã棻ʹÓÃÒ»¸ö״̬±ÈÈ磺
Server.Transfer(“WebForm2.aspx”, True)£¬
ÏÖ´æµÄÇëÇó×Ö·û´®ºÍËùÓеÄFormÀïµÄ±äÁ¿½«±»±£³Ö²¢Ìá½»µ½ÄãµÄÄ¿±êÒ³¡£´«µÝµÄÖµÖ»ÄÜÔÚPAGELOADº¯ÊýÀïµÚÒ»´Î½øÀ´Ê±¶Á ³ö.
Àý£ºWebForm1.aspx ÓÐÒ»¸öÎı¾¿òÃûΪ TextBox1£¬ÄãÀûÓà preserveForm Ϊ True ´«µ ......

Asp.net ·ÀֹģÄâHttpÇëÇó

Ç°Ò»¶Îʱ¼ä×öÁËÄ£ÄâHttpÇëÇó£¬ÄÇôÎÒÃÇÓ¦¸ÃÔõô×ö¿ÉÒÔ×èÖ¹Óû§Ä£ÄâHttpÇëÇóÁË£¬ÔÚÕâÀïÍƼöÒ»¸ö·½·¨£º¾ÍÊÇ·ÃÎÊʱ¼ä²îºÍ·ÃÎÊ´ÎÊý¡£ÎÒÃÇ°ÑÊý¾Ý·ÃÎʵÄIP´æ·Åµ½Êý¾Ý¿â£¬ÒÔ±ãÎÒÃÇÒÔºó²é¿´¡£
Ê×ÏȽ¨Á¢Êý¾Ý±íºÍ´æ´¢¹ý³Ì
CREATE TABLE [dbo].[IPAccess](
    [IP] [varchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
    [Times] [bigint] NULL,
    [State] [bit] NULL,
    [LastDataTime] [datetime] NULL,
 CONSTRAINT [PK_IPAccess] PRIMARY KEY CLUSTERED
(
    [IP] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
CREATE PROC GetIpState
    (
      @IP VARCHAR(50) ,
      @TimeCount INT ,
      @State BIT OUTPUT
    )
AS
    BEGIN
        DECLARE @count BIGINT
        SELECT  @count = COUNT(0)
    & ......

ASP.NET Ò³Ãæ¼ä´«Öµ

ÔÚÒ³Ãæ¼äÌøת,»áÉæ¼°µ½ÖµºÍÊý¾ÝµÄ´«µÝÎÊÌâ.ÌØÓñ¾ÎĽ«ÎÒÖªµÀµÄһЩ·½·¨¹éÄÉÒ»ÏÂ.
1.´ø²ÎÊý´«µÝ
Óŵã:ʹÓ÷½±ã
ȱµã:°²È«ÐÔµÍ,Êʺϴ«µÝ¼òµ¥ÀàÐ͵ĶÔÏó,±ÈÈçÊý×Ö.×Ö·û.µ«¶Ô¶ÔÏó.Êý×éµÈ²»ºÏÊÊ´«µÝ.
Ó¦ÓÃ:
a.°²È«ÐÔ²»¸ß,Ó¦¶Ô·½Ê½:¶Ô´«µÝµÄÖµ½øÐмÓÃÜ.
b.´«µÝ¼òµ¥ÀàÐ͵ĶÔÏó.Ó¦¶Ô·½Ê½:ÔÚ´«µÝҳͨ¹ý¼òµ¥ÀàÐͶÔÏó¸ø³ö±êʶ,ÔÚ±»´«µÝҳͨ¹ý±êʶ»ñÈ¡¸´ÔӵĶÔÏó.
°¸Àý:
URL¼ÓÃÜÀà
URL±àÂë½âÂëÀà
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Text;
using System.Web;
/**//// <summary>
///Url±àÂë½âÂëÀà
/// </summary>
public class UrlEncrpt
{
    static System.Text.Encoding encoding = System.Text.Encoding.UTF8;
    public UrlEncrpt()
    {
        //
        //TODO: ÔÚ´Ë´¦Ìí¼Ó¹¹Ô캯ÊýÂß¼­
       &nb ......
×ܼǼÊý:2672; ×ÜÒ³Êý:446; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [12] [13] [14] [15] 16 [17] [18] [19] [20] [21]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ