asp.net ·ÖÒ³
///·½·¨
public static List<FeesItemInfo> selectAll()
{
List<FeesItemInfo> list = new List<FeesItemInfo>();
string sql = "select * from FeesItem";
SqlConnection cn;
using (SqlDataReader sr = SQLHelper.ExecuteReader(out cn, CommandType.Text, sql))
{
while (sr.Read())
{
FeesItemInfo info = new FeesItemInfo();
info.Id = Convert.ToInt32(sr["id"]);
info.Itemname = sr["itemname"].ToString();
list.Add(info);
}
}
return list;
}
///Ò³Ãæ
public int pageIndex
{
get
{
if (ViewState["pageIndex"]
Ïà¹ØÎĵµ£º
asp.net Ôö¼Ó²¥·Å¿Ø¼þ&²¥·ÅÊÓÆµÎļþ2009-11-02 13:59/// <summary>//°ó¶¨ÊÓÆµ²¥·Å
/// °ó¶¨ÊÓÆµ²¥·Å
/// </summary>
/// <param name="width">²¥·ÅÆ÷¿í¶È</param>
/// <param name="height">²¥·ÅÆ÷¸ß¶ ......
asp.net½Ì³Ì:asp.net¿Ø¼þ¿ª·¢(Èý)£º´¦Àí±êÇ©¼äÄÚÈÝ
asp.net¿Ø¼þ±êÇ©¼äµÄÄÚÈÝÓеÄʱºò´¦Àí³É½ÚµãÓеÄʱºò´¦Àí³É×ӿؼþ¡£È磺¼äµÄ½Úµã¾Í»á´¦Àí³ÉÊôÐÔTextµÄÖµ£¬¶øÈçPanelÕâÑùµÄ¿Ø¼þÔò¾ÍÊǽ«Æä´¦Àí³É×ӿؼþ¡£Ê×ÏÈ¿´ÈçºÎ´¦Àí³ÉÊôÐԵġ£
¡¡¡¡Ò»¡¢´¦Àí³ÉΪÊôÐÔ
¡¡¡¡¶ÔÓڿؼþ±êÇ©¼äµÄÄÚÈÝÎÒÃÇ¿ÉÒÔͨ¹ýÀàSystem.Web.UI.ParseChil ......
Cookie ÌṩÁËÒ»ÖÖÔÚ Web Ó¦ÓóÌÐòÖд洢Óû§Ìض¨ÐÅÏ¢µÄ·½·¨¡£ÀýÈ磬µ±Óû§·ÃÎÊÄúµÄÕ¾µãʱ£¬Äú¿ÉÒÔʹÓà Cookie ´æ´¢Óû§Ê×Ñ¡Ïî»òÆäËûÐÅÏ¢¡£µ±¸ÃÓû§ÔٴηÃÎÊÄúµÄÍøÕ¾Ê±£¬Ó¦ÓóÌÐò±ã¿ÉÒÔ¼ìË÷ÒÔǰ´æ´¢µÄÐÅÏ¢¡£
ʲôÊÇ Cookie£¿
Cookie ÊÇһС¶ÎÎı¾ÐÅÏ¢£¬°éËæ×ÅÓû§ÇëÇóºÍÒ³ÃæÔÚ Web ·þÎñÆ÷ºÍä¯ÀÀÆ÷Ö®¼ä´«µÝ¡£Cookie °üº¬Ã¿ ......
ÉùÃ÷£º
Ö»Ìṩºǫ́.csÎļþ´úÂë
Ïêϸ½Ì³ÌµØÖ·£ºhttp://download.csdn.net/source/2289546
1.ÐèÒª ±àд¾²Ì¬Ä£°åÒ³ ÎÒʹÓõÄÊÇ template.htm
2.ÔÚÄ£°åÒ³Öж¨Òåhtmlyem±ê¼Ç£¬±ê¼Ç·Ç¹Ì¶¨ÄÚÈÝ£¬ÔÚºǫ́´úÂëÖÐΪ±ê¼Ç¸³Öµ
3.ºǫ́´úÂëÈçÏ£º
using System;
using System.Data;
using System.Configuration;
using Syst ......
Web ÏîÄ¿Öо³£Óöµ½µÄÎÊÌâ¾ÍÊÇͬһÓû§Ãû¶à´ÎµÇ½µÄÎÊÌ⣬ÏàÓ¦µÄ½â¾ö°ì·¨Ò²ºÜ¶à£¬×ܽáÆðÀ´²»ÍâºõÕ⼸ÖÖ½â¾ö°ì·¨£º½«µÇ½ºóµÄÓû§Ãû·Åµ½Êý¾Ý¿â±íÖУ»µÇ½ºóµÄÓû§Ãû·Åµ½SessionÖУ»µÇ½ºóµÄÓû§Ãû·Åµ½ApplicationÖУ»µÇ½ºóµÄÓû§Ãû·Åµ½CacheÖС£Ò»°ãµÄÕ⼸ÖÖ·½·¨¶¼ÊǵǽÁËÖ®ºó£¬Èç¹ûûÓÐÕý³£Í˳ö£¬µÚ¶þ´ÎµÇ½½«²»±»ÔÊÐí¡£Õ ......