91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 649KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-09
  • 語言: C#
  • 標(biāo)簽: 后臺??管理??asp??asp.net??

資源簡介

Asp.net企業(yè)網(wǎng)站管理系統(tǒng)源碼2.0版(精美實用) 漂亮的企業(yè)網(wǎng)站。NET2.0出來了, 本次升級修改如下: 1、優(yōu)化了3層結(jié)構(gòu)。 2、優(yōu)化了后臺管理代碼,增強了安全性能。 3、增加了系統(tǒng)名稱及關(guān)鍵字管理。 4、增加了系統(tǒng)錯誤日志記錄,自動生成Systemlog.log日志文件。 備注:本系統(tǒng)采用ASP.NET 2.O+ACCESS開發(fā),請調(diào)試的朋友安裝.NET2.0運行環(huán)境! 網(wǎng)站內(nèi)容 網(wǎng)站欄目包括 首頁|企業(yè)簡介|新聞中心|產(chǎn)品展示|公司展示|銷售網(wǎng)絡(luò)|聯(lián)系我們|客戶系統(tǒng)|人才管理|客戶留言 后臺模塊有:常規(guī)管理 企業(yè)簡介 | 聯(lián)系我們 鏈接管理 | 用戶管理 投票管理 | 看留言 系統(tǒng)設(shè)置 | 公告管理 添加公告 | 公告列表 新聞管理 添加新聞 | 新聞列表 產(chǎn)品管理 添加產(chǎn)品 | 產(chǎn)品列表 公司證書 添加證書 | 證書列表 客戶系統(tǒng) 添加客戶 | 客戶列表 工程業(yè)績 添加業(yè)績 |業(yè)績列表 數(shù)據(jù)庫操作采用的是AccessHelper(OledbHelper),網(wǎng)頁編輯器為FreeTextBox 管理地址:http://xxx/Admin/Admin_Login.aspx 管理帳號:51aspx 管理密碼:51aspx

資源截圖

代碼片段和文件信息

using?System;
using?System.Data;
using?System.Data.OleDb;
using?System.Configuration;
using?System.Collections;
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;

public?partial?class?Cases?:?System.Web.UI.Page
{
????public?string?titlep;
????public?string?Descriptionp;
????public?string?Keywordsp;
????OleDbConnection?MyConn;
????int?PageSize?RecordCount?PageCount?CurrentPage;
????protected?void?Page_Load(object?sender?EventArgs?e)
????{

????????//titledescon
????????GetContent?drt?=?new?GetContent();
????????OleDbDataReader?drf?=?drt.GetTDC();
????????while?(drf.Read())
????????{
????????????this.titlep?=?drf[“title“].ToString();
????????????this.Descriptionp?=?drf[“Description“].ToString();
????????????this.Keywordsp?=?drf[“Keywords“].ToString();
????????}
????????drf.Close();
????????//設(shè)定PageSize?
????????PageSize?=?12;
????????//連接語句?
????????MyConn?=?DB.CreateDB();
????????MyConn.Open();
????????//第一次請求執(zhí)行?
????????if?(!Page.IsPostBack)
????????{
????????????ListBind();
????????????CurrentPage?=?0;
????????????ViewState[“PageIndex“]?=?0;

????????????//計算總共有多少記錄?
????????????RecordCount?=?CalculateRecord();
????????????//
????????????lblRecordCount.Text?=?RecordCount.ToString();

????????????//計算總共有多少頁?
????????????if?(RecordCount?%?PageSize?==?0)
????????????{
????????????????PageCount?=?RecordCount?/?PageSize;
????????????}
????????????else
????????????{
????????????????PageCount?=?RecordCount?/?PageSize?+?1;
????????????}
????????????lblPageCount.Text?=?PageCount.ToString();
????????????ViewState[“PageCount“]?=?PageCount;
????????}
????}


????//計算總共有多少條記錄?
????public?int?CalculateRecord()
????{
????????int?intCount;
????????string?strCount?=?“select?count(*)?as?co?from?product?where?pro_name=‘cases‘“;
????????OleDbCommand?MyComm?=?new?OleDbCommand(strCount?MyConn);
????????OleDbDataReader?dr?=?MyComm.ExecuteReader();
????????if?(dr.Read())
????????{
????????????intCount?=?Int32.Parse(dr[“co“].ToString());
????????}
????????else
????????{
????????????intCount?=?0;
????????}
????????dr.Close();
????????return?intCount;
????}


????ICollection?CreateSource()
????{

????????int?StartIndex;

????????//設(shè)定導(dǎo)入的起終地址?
????????StartIndex?=?CurrentPage?*?PageSize;
????????string?strSel?=?“select?*?from?product?where?pro_name=‘cases‘“;
????????DataSet?ds?=?new?DataSet();

????????OleDbDataAdapter?MyAdapter?=?new?OleDbDataAdapter(strSel?MyConn);
????????MyAdapter.Fill(ds?StartIndex?PageSize?“pro_name“);
????????return?ds.Tables[“pro_name“].DefaultView;
????}



????public?void?ListBind()
????{
????????DataList1.DataSource?=?CreateSource();
????????DataList1.DataBind();

????????lbnNextPage.Enabled?=?true;
????????lbnPrevPage.Enabled?=?true;
????????if?(CurrentPage?==?(PageCount?-?1))?lbnNextPage.Enabled?=?false;

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????20480??2006-09-19?09:13??OleDbHelper\bin\Debug\OleDbHelper.dll

?????文件??????19968??2006-09-19?09:13??OleDbHelper\bin\Debug\OleDbHelper.pdb

?????目錄??????????0??2008-01-09?11:43??OleDbHelper\bin\Debug

?????目錄??????????0??2008-01-09?11:43??OleDbHelper\bin

?????文件??????20480??2006-09-19?09:13??OleDbHelper\obj\Debug\OleDbHelper.dll

?????文件??????19968??2006-09-19?09:13??OleDbHelper\obj\Debug\OleDbHelper.pdb

?????目錄??????????0??2008-01-09?11:43??OleDbHelper\obj\Debug

?????文件????????150??2006-09-19?20:33??OleDbHelper\obj\OleDbHelper.csproj.FileList.txt

?????目錄??????????0??2008-01-09?11:43??OleDbHelper\obj

?????文件???????3647??2008-01-09?12:01??OleDbHelper\OleDbHelper.cs

?????文件???????2138??2006-09-17?09:14??OleDbHelper\OleDbHelper.csproj

?????文件???????1341??2006-09-17?09:06??OleDbHelper\Properties\AssemblyInfo.cs

?????目錄??????????0??2008-01-09?11:43??OleDbHelper\Properties

?????文件???????1484??2006-09-17?09:28??OleDbHelper\SystemError.cs

?????文件???????1477??2006-09-19?09:12??OleDbHelper\SystemTools.cs

?????目錄??????????0??2008-01-09?11:43??OleDbHelper

?????文件???????2503??2008-01-09?12:02??51aspx源碼必讀.txt

?????文件???????6776??2006-09-18?08:07??Cases.aspx

?????文件???????3847??2006-09-18?11:08??Cases.aspx.cs

?????文件???????2736??2006-09-18?08:08??Cases_More.aspx

?????文件???????2518??2006-09-19?16:56??Cases_More.aspx.cs

?????文件???????2605??2006-09-18?08:07??Contact.aspx

?????文件???????1123??2006-09-18?11:08??Contact.aspx.cs

?????文件???????4157??2006-09-18?08:07??Customer.aspx

?????文件???????1489??2006-09-18?11:08??Customer.aspx.cs

?????文件???????2739??2006-09-18?08:07??Customer_More.aspx

?????文件???????2586??2008-01-09?12:00??Customer_More.aspx.cs

?????文件????????445??2006-09-22?10:00??Default2.aspx

?????文件????????409??2006-09-22?10:00??Default2.aspx.cs

?????文件???????8613??2006-09-22?10:19??Default.aspx

............此處省略232個文件信息

評論

共有 條評論

相關(guān)資源