in

SDT Community Server

SDT Forums, Blogs, Photos server.

This Blog

Syndication

Coolboy

Browse by Tags

All Tags » ViewState (RSS)
Sorry, but there are no more tags available to filter with.
  • 把ViewState存在服务器端

    using System; using System.IO; using System.Web.UI; public class XVPage : Page { static private DirectoryInfo _Dir; private DirectoryInfo Dir { get { if (_Dir == null ) { var _Dir = new DirectoryInfo(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "App_Data")); if ( ! _Dir.Exists) _Dir.Create(); _Dir = new DirectoryInfo(Path.Combine(_Dir.FullName, " ViewState " )); if ( ! _Dir.Exists) _Dir.Create(); } return _Dir; } } protected override object LoadPageStateFromPersistenceMedium...
    Posted Dec 10 2008, 08:31 AM by Coolboy with | with no comments
    Filed under:
Copyright SDT, 2006-2009. All rights reserved.