摘要:
1.做了开发这么久,居然不知道Viewstate是怎么用的!真悲剧……Viewstate主要是用来保留页面数据的。下面是某一种情况的用法。 private string MCategory { set { ViewState["MCategory"] = value; } get { if (ViewState["MCategory"] == null) ret... 阅读全文
posted @ 2011-11-04 21:18
gzh4455
阅读(224)
评论(0)
推荐(0)
摘要:
public static string LogPath { get { string path = string.Empty; path = Environment.GetFolderPath(Environment.SpecialFolder.CommonProgramFiles) + @"\Microsoft Shared\web server extensions\12\LOGS\"; ... 阅读全文
posted @ 2011-11-04 10:58
gzh4455
阅读(209)
评论(0)
推荐(0)
浙公网安备 33010602011771号