資源簡介
簡單,方便,值得參考。

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Text;
namespace?UART.Accounts
{
????///?
????///?AccountsPage?需要驗證角色和權限的頁面基類
????///?繼承自Page類
????///?
???
????public?class?AccountsPage?:?System.Web.UI.Page
????{
????????public?AccountsPage()
????????{?
????????????//
????????????//在此處添加構造函數
????????????//
????????}
????????protected?override?void?OnInit(EventArgs?e)
????????{
????????????base.OnInit(e);
????????????this.Load?+=?new?EventHandler(AccountsPage_Load);
????????}
????????//在頁面加載的時候從緩存中提取用戶信息
????????private?void?AccountsPage_Load(object?sender?System.EventArgs?e)
????????{
????????????if?(Context.User.Identity.IsAuthenticated)
????????????{
????????????????if?(!(Context.User?is?UART.Accounts.Bus.AccountsPrincipal))
????????????????{
????????????????????UART.Accounts.Bus.AccountsPrincipal?principal?=?new?UART.Accounts.Bus.AccountsPrincipal(Context.User.Identity.Name);
????????????????????Context.User?=?principal;
????????????????}
????????????}
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2905??2010-09-15?15:14??Accounts\Accounts.csproj
?????文件????????274??2010-07-18?22:21??Accounts\Accounts.csproj.vspscc
?????文件???????1116??2010-06-19?20:46??Accounts\AccountsPage.cs
?????文件??????19456??2010-09-15?15:14??Accounts\bin\Accounts.dll
?????文件??????67072??2010-09-15?15:14??Accounts\bin\Accounts.pdb
?????文件??????12799??2010-09-15?15:14??Accounts\bin\Accounts.xm
?????文件??????20992??2010-07-18?22:30??Accounts\bin\Debug\Accounts.dll
?????文件??????87552??2010-07-18?22:29??Accounts\bin\Debug\Accounts.pdb
?????文件????????133??2010-08-09?20:20??Accounts\bin\Debug\Accounts.xm
????..A.SH.???????116??2007-12-04?19:22??Accounts\bin\Debug\vssver2.scc
?????文件???????4821??2010-06-19?20:46??Accounts\Bus\AccountsPrincipal.cs
?????文件???????5773??2010-06-19?20:46??Accounts\Bus\SiteIdentity.cs
?????文件???????5330??2010-06-19?20:46??Accounts\Bus\User.cs
?????文件???????7614??2010-06-19?20:46??Accounts\Data\User.cs
?????文件??????11189??2010-06-19?20:46??Accounts\DbManagerSQL.cs
?????文件???????7287??2010-06-19?20:46??Accounts\Dbob
?????文件???????2547??2010-06-19?20:46??Accounts\DESEncrypt.cs
?????文件????????153??2010-07-18?22:21??Accounts\mssccprj.scc
?????文件????????138??2008-07-29?08:54??Accounts\obj\Accounts.csproj.FileList.txt
?????文件????????828??2008-08-19?18:50??Accounts\obj\Accounts.csproj.FileListAbsolute.txt
?????文件????????874??2010-07-24?15:21??Accounts\obj\Debug\Accounts.csproj.FileListAbsolute.txt
?????文件??????20992??2010-07-18?22:30??Accounts\obj\Debug\Accounts.dll
?????文件??????87552??2010-07-18?22:29??Accounts\obj\Debug\Accounts.pdb
?????文件???????8192??2010-08-09?20:20??Accounts\obj\Debug\Refactor\Accounts.dll
????..A.SH.???????116??2007-12-04?19:22??Accounts\obj\Debug\vssver2.scc
?????文件???????1218??2010-09-16?08:56??Accounts\obj\Release\Accounts.csproj.FileListAbsolute.txt
?????文件??????19456??2010-09-15?15:14??Accounts\obj\Release\Accounts.dll
?????文件??????67072??2010-09-15?15:14??Accounts\obj\Release\Accounts.pdb
????..A.SH.????????97??2007-12-04?19:22??Accounts\obj\vssver2.scc
?????文件???????1335??2010-06-19?20:46??Accounts\Properties\AssemblyInfo.cs
............此處省略1220個文件信息
- 上一篇:BPA仿真軟件用戶手冊
- 下一篇:SuperSocket1.6版本文檔中文PDF
評論
共有 條評論