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

asp.netÒ³ÃæÉúÃüÖÜÆÚ ¸÷ʱÆÚʼþ

using System;
using System.Collections.Specialized;
using System.Data;
using System.Configuration;
using System.Collections;
using System.IO;
using System.Threading;
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;
namespace WebApplication1
{
public partial class WebForm4 : System.Web.UI.Page
{
private const string INFO_DIR = @"c:\Downloads\";
public static int requestCount;
/// <summary>
///µäÐÍÓ¦ÓãºÊ¹ÓÃIsPostBackÊôÐÔÈ·¶¨ÊÇ·ñÊǵÚÒ»´Î´¦Àí¸ÃÒ³£»
///´´½¨»òÕßÖØд´½¨¶¯Ì¬¿Ø¼þ£»
///¶¯Ì¬ÉèÖÃĸ°æÒ³£»
////¶¯Ì¬ÉèÖÃThemeÊôÐÔ£»
///¶ÁÈ¡»òÕßÉèÖÃÅäÖÃÎļþÊôÐÔÖµ¡£
///×¢Ò⣺Èç¹ûÇëÇóÊǻط¢ÇëÇó£¬Ôò¿Ø¼þµÄÖµÉÐδ´ÓÊÓͼ״̬»¹Ô­¡£Èç¹ûÔڴ˽׶ÎÉèÖÿؼþÊôÐÔ£¬ÔòÖµ¿ÉÄÜ»áÔÚÏÂÒ»½×¶Î±»¸Äд¡£
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_PreInit(object sender, EventArgs e)
{
}
/// <summary>
/// ÔÚËùÓпؼþ¶¼Òѳõʼ»¯ÇÒÒÑÓ¦ÓÃËùÓÐÍâ¹ÛÉèÖúóÒý·¢¡£Ê¹ÓøÃʼþÀ´¶ÁÈ¡»ò³õʼ»¯¿Ø¼þÊôÐÔ
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Init(object sender, EventArgs e)
{
Response.Write("Page_Init<br/>");
}
/// <summary>
/// ÓÉ Page ¶ÔÏóÒý·¢¡£Ê¹ÓøÃʼþÀ´´¦ÀíÒªÇóÏÈÍê³ÉËùÓгõʼ»¯¹¤×÷µÄÈÎÎñ
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_InitComplete(object sender, EventArgs e)
{
Response.Write("Page_InitComplete<br/>");
}
/// <summary>
/// Èç¹ûÐèÒªÔÚ Load ʼþ֮ǰ¶ÔÒ³»ò¿Ø¼þÖ´ÐÐ


Ïà¹ØÎĵµ£º

ASP.NET2.0Á¬½ÓORACLE½â¾ö·½°¸

½çÃæ: Default.aspx
 
½çÃæÉÏÌí¼ÓµÄ¿Ø¼þ:
Á½¸öTextBox: tEmail(ÓÃÓÚÊäÈëÓû§email),tPassword(ÓÃÓÚÊäÈë×¢²áÃÜÂë)
Ò»¸öButton: bReg
Ò»¸öLabel: lLable(ÓÃÓÚ×¢²á³É¹¦ºóÏÔʾӦ´ð)
DemoµÄ´úÂë: Default.aspx.cs
ÎÒÃÇÏÈ°ÑÊý¾ÝµÄÁ¬½Ó×Ö·û´®Ð´ÔÚWeb.configÀï:
<appSettings>
<add key="oracleconn" value= ......

asp.net mvc json ÐòÁл¯À©Õ¹·½·¨

¼Ç¼һ¸öС·½·¨£¬ÈÃÈκζÔÏó¶¼ÊµÏÖjsonÐòÁкúµÄÀ©Õ¹·½·¨:
using System.Web.Script.Serialization;
...
 //
public static string ToJSON(this Object obj) {
            return new JavaScriptSerializer().Serialize(obj);
 }
... ......

ÈçºÎ°²×°Ó벿Êðasp.netÍøÕ¾

 ÈçºÎ¸øAsp.Net ÍøÕ¾ÏîÄ¿´ò°ü
1¡¢´ò¿ªÄãµÄÏîÄ¿£¬ÔÚ<½â¾ö·½°¸¹ÜÀíÆ÷>ÖÐÓÃÊó±êÓÒ»÷ÄãµÄ<½â¾ö·½°¸>£¬Ñ¡Ôñ<Ìí¼Ó>-<н¨ÏîÄ¿>¡£
2¡¢<Ìí¼ÓÐÂÏîÄ¿>¶Ô»°¿òÖÐÑ¡Ôñ<°²×°ºÍ²¿ÊðÏîÄ¿>-<web°²×°ÏîÄ¿>¡££¨×¢Ò⣺<web°²×°ÏîÄ¿>µÄ´æ·Å·¾¶¡££©
3¡¢vs.net µÄ´°¿Ú×ó²à»áÏÔʾ<Îļþ ......

ASP.NET


      ÊÓͼ״̬ÊÇ ASP.NET Ò³¿ò¼ÜÓÃÓÚÔÚÍù·µ¹ý³ÌÖ®¼ä±£ÁôÒ³ºÍ¿Ø¼þÖµµÄ·½·¨¡£ÔÚ³ÊÏÖÒ³µÄ HTML ±ê¼Çʱ£¬±ØÐëÔڻط¢¹ý³ÌÖб£ÁôµÄÒ³ºÍÖµµÄµ±Ç°×´Ì¬½«±»ÐòÁл¯Îª Base64 ±àÂë×Ö·û´®¡£È»ºó£¬´ËÐÅÏ¢½«±»·ÅÈëÒ»¸ö»ò¶à¸öÊÓͼ״̬Òþ²Ø×ֶΡ£
 
1¡¢·½°¸
ÊÓͼ״̬ÓÉ ASP.NET Ò³¿ò¼Ü×Ô¶¯ÓÃÓÚ±£´æÔÚ¸ ......

ASP.NET


ASP.NET ÅäÖÃÎļþ¹¦ÄÜÓë ASP.NET ³ÉÔ±×ʸñ¡¢ASP.NET ½ÇÉ«¹ÜÀíÒÔ¼°ÆäËû ASP.NET ¹¦ÄÜʹÓÃͬһ»ùÓÚÌṩ³ÌÐòµÄ½á¹¹¡£ASP.NET ÅäÖÃÎļþ¹¦ÄÜÊÇÒ»¸ö·Ö²ãϵͳ£¬ÆäÖÐÅäÖÃÎļþ¹¦ÄܵŦÄÜ£¨ÌṩÀàÐÍ»¯ÊôÐÔÖµ²¢¹ÜÀíÓû§±êʶ£©Óë»ù´¡Êý¾Ý´æ´¢Çø·ÖÀë¡£ÅäÖÃÎļþ¹¦ÄÜÒÀÀµÓÚÅäÖÃÎļþÌṩ³ÌÐò£¨Êý¾ÝÌṩ³ÌÐò£©À´Ö´Ðд洢ºÍ¼ìË÷ÅäÖÃÎļþÊôÐÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ