資源簡介
安裝及使用須知
1、查看建模圖
本文件夾中的Model目錄下包含了系統的數據庫模型圖和系統建模圖,分別使用PowerDesigner和Rational Rose打開。
2、數據庫安裝
本安裝說明是以Microsoft SQL Server 2000中文企業版為例來闡述的,對于Microsoft SQL Server其他版本,應用程序數據庫的安裝方法是類似的。 將本文件夾中的DataBase目錄下的兩個文件Sell_Data.MDF和Sell_Log.LDF復制到系統盤的\Program Files\Microsoft SQL Server\MSSQL\Data目錄下。打開SQL Server Enterprise Manager,展開Microsoft SQL Servers樹狀菜單,右擊“數據庫”子項,在彈出菜單的“所有任務”中選擇“附加數據庫”命令,按提示給出\Program Files\Microsoft SQL Server\MSSQL\Data 目錄下的Sell_Data.MDF的路徑。
3、本程序開發時連接的數據庫服務器時本地(local)且可以Windows集成安全方式訪問。
4、如果用戶安裝的是Mic
rosoft Visual Studio .NET 2003,那么可以直接打開Sales文件夾下的項目,查看代碼并進行調試。
5、本程序登錄前請查看數據庫中的user數據表中的數據,其中系統用戶zhangqi的密碼為zhangqi;一般用戶andy的密碼為andy。
6、為了保證示例代碼正確運行,讀者需要自己下載和安裝XtraNavBar工具欄插件下載地址如下:
http://www.devexpress.com/Downloads/NET/XtraNavBar/
以上軟件是需要注冊才能長期正常使用的軟件,請大家支持正版軟件的使用。
1、查看建模圖
本文件夾中的Model目錄下包含了系統的數據庫模型圖和系統建模圖,分別使用PowerDesigner和Rational Rose打開。
2、數據庫安裝
本安裝說明是以Microsoft SQL Server 2000中文企業版為例來闡述的,對于Microsoft SQL Server其他版本,應用程序數據庫的安裝方法是類似的。 將本文件夾中的DataBase目錄下的兩個文件Sell_Data.MDF和Sell_Log.LDF復制到系統盤的\Program Files\Microsoft SQL Server\MSSQL\Data目錄下。打開SQL Server Enterprise Manager,展開Microsoft SQL Servers樹狀菜單,右擊“數據庫”子項,在彈出菜單的“所有任務”中選擇“附加數據庫”命令,按提示給出\Program Files\Microsoft SQL Server\MSSQL\Data 目錄下的Sell_Data.MDF的路徑。
3、本程序開發時連接的數據庫服務器時本地(local)且可以Windows集成安全方式訪問。
4、如果用戶安裝的是Mic
rosoft Visual Studio .NET 2003,那么可以直接打開Sales文件夾下的項目,查看代碼并進行調試。
5、本程序登錄前請查看數據庫中的user數據表中的數據,其中系統用戶zhangqi的密碼為zhangqi;一般用戶andy的密碼為andy。
6、為了保證示例代碼正確運行,讀者需要自己下載和安裝XtraNavBar工具欄插件下載地址如下:
http://www.devexpress.com/Downloads/NET/XtraNavBar/
以上軟件是需要注冊才能長期正常使用的軟件,請大家支持正版軟件的使用。
代碼片段和文件信息
using?System;
using?System.Drawing;
using?System.Collections;
using?System.ComponentModel;
using?System.Windows.Forms;
using?System.Data;
using?System.Data.SqlClient;
using?Sale.DataLevel;
namespace?Sale.UILevel
{
///?
///?Anylyse?的摘要說明。
///?
public?class?ProfitAnalyse?:?System.Windows.Forms.Form
{
private?System.Windows.Forms.DateTimePicker?dateTimePicker1;
private?System.Windows.Forms.DateTimePicker?dateTimePicker2;
private?System.Windows.Forms.Label?label1;
private?System.Windows.Forms.Label?label2;
private?System.Windows.Forms.Label?label3;
private?System.Windows.Forms.DataGrid?dataGrid1;
private?System.Windows.Forms.Button?btnApply;
private?System.Windows.Forms.Button?btnExit;
private?System.Windows.Forms.Button?btnCancel;
private?System.Windows.Forms.GroupBox?groupBox1;
private?System.Windows.Forms.CheckedListBox?checkedListBox1;
private?System.Windows.Forms.GroupBox?groupBox2;
private?System.Windows.Forms.TextBox?textBox1;
///?
///?必需的設計器變量。
///?
private?System.ComponentModel.Container?components?=?null;
public?ProfitAnalyse()
{
//
//?Windows?窗體設計器支持所必需的
//
InitializeComponent();
//
//?TODO:?在?InitializeComponent?調用后添加任何構造函數代碼
//
}
///?
///?清理所有正在使用的資源。
///?
protected?override?void?Dispose(?bool?disposing?)
{
if(?disposing?)
{
if(components?!=?null)
{
components.Dispose();
}
}
base.Dispose(?disposing?);
}
#region?Windows?窗體設計器生成的代碼
///?
///?設計器支持所需的方法?-?不要使用代碼編輯器修改
///?此方法的內容。
///?
private?void?InitializeComponent()
{
System.Resources.ResourceManager?resources?=?new?System.Resources.ResourceManager(typeof(ProfitAnalyse));
this.dateTimePicker1?=?new?System.Windows.Forms.DateTimePicker();
this.dateTimePicker2?=?new?System.Windows.Forms.DateTimePicker();
this.label1?=?new?System.Windows.Forms.Label();
this.label2?=?new?System.Windows.Forms.Label();
this.label3?=?new?System.Windows.Forms.Label();
this.dataGrid1?=?new?System.Windows.Forms.DataGrid();
this.btnApply?=?new?System.Windows.Forms.Button();
this.btnExit?=?new?System.Windows.Forms.Button();
this.btnCancel?=?new?System.Windows.Forms.Button();
this.groupBox1?=?new?System.Windows.Forms.GroupBox();
this.checkedListBox1?=?new?System.Windows.Forms.CheckedListBox();
this.groupBox2?=?new?System.Windows.Forms.GroupBox();
this.textBox1?=?new?System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
//?
//?dateTimePicker1
//?
this.dateTimePicker1.Location?=?new?System.Drawing.Point(88?24);
this.dateTimePicker1.Name?=?“dateTimePicker1“;
this.dateTimePicker1.Size?=?new?System.Drawing.Size(112?21);
this.
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1310720??2004-03-05?23:49??2企業銷售管理信息系統\Databa
?????文件????1048576??2004-03-05?23:49??2企業銷售管理信息系統\Databa
?????文件??????66524??2004-08-14?22:22??2企業銷售管理信息系統\Model\PD\銷售管理CDM.cdb
?????文件??????66524??2004-08-14?22:24??2企業銷售管理信息系統\Model\PD\銷售管理CDM.cdm
?????文件??????66883??2004-08-14?23:44??2企業銷售管理信息系統\Model\PD\銷售管理CDM_2.cdb
?????文件??????67429??2004-08-14?23:54??2企業銷售管理信息系統\Model\PD\銷售管理CDM_2.cdm
?????文件??????70985??2004-08-14?22:40??2企業銷售管理信息系統\Model\PD\銷售管理PDM.pdb
?????文件??????70985??2004-08-14?22:42??2企業銷售管理信息系統\Model\PD\銷售管理PDM.pdm
?????文件?????168414??2004-08-14?23:06??2企業銷售管理信息系統\Model\PD\銷售管理PDM_2.pdb
?????文件?????190562??2004-08-14?23:10??2企業銷售管理信息系統\Model\PD\銷售管理PDM_2.pdm
?????文件?????308042??2004-08-10?12:33??2企業銷售管理信息系統\Model\Rose\銷售管理.mdl
?????文件???????1200??2005-03-01?17:46??2企業銷售管理信息系統\readme.txt
?????文件???????4017??2004-03-05?20:36??2企業銷售管理信息系統\Sales\Client.dtq
?????文件???????3972??2004-03-05?20:36??2企業銷售管理信息系統\Sales\Product.dtq
?????文件???????4411??2004-03-05?20:36??2企業銷售管理信息系統\Sales\ProSell.dtq
?????文件???????4031??2004-03-05?20:36??2企業銷售管理信息系統\Sales\Provider.dtq
?????文件???????9765??2004-03-05?20:36??2企業銷售管理信息系統\Sales\Sale\Anylyse.cs
?????文件??????19740??2004-03-05?20:36??2企業銷售管理信息系統\Sales\Sale\Anylyse.resx
?????文件???????1078??2004-03-05?20:36??2企業銷售管理信息系統\Sales\Sale\App.ico
?????文件???????1859??2004-03-05?20:36??2企業銷售管理信息系統\Sales\Sale\AssemblyInfo.cs
?????文件???????3248??2004-03-05?20:35??2企業銷售管理信息系統\Sales\Sale\BussinessRule\AddName.cs
?????文件???????1711??2004-03-05?20:35??2企業銷售管理信息系統\Sales\Sale\BussinessRule\CreateTableProfitAnalyse.cs
?????文件???????2037??2004-03-05?20:35??2企業銷售管理信息系統\Sales\Sale\BussinessRule\ModifyProStock.cs
?????文件???????1068??2004-03-05?20:35??2企業銷售管理信息系統\Sales\Sale\BussinessRule\UserCheck.cs
?????文件??????39338??2004-03-05?20:36??2企業銷售管理信息系統\Sales\Sale\Client.cs
?????文件??????32976??2004-03-05?20:36??2企業銷售管理信息系統\Sales\Sale\Client.resx
?????文件???????4456??2005-02-26?20:45??2企業銷售管理信息系統\Sales\Sale\DataLevel\CrystalReportProvider.cs
?????文件??????16384??2005-02-26?20:45??2企業銷售管理信息系統\Sales\Sale\DataLevel\CrystalReportProvider.rpt
?????文件????????215??2005-02-26?20:40??2企業銷售管理信息系統\Sales\Sale\DataLevel\Databa
?????文件??????21266??2004-03-05?20:35??2企業銷售管理信息系統\Sales\Sale\DataLevel\DataSetClient.cs
............此處省略117個文件信息
- 上一篇:數據結構課程設計 公園導游圖
- 下一篇:石油勘探錄井行業錄井微鉆時系統
評論
共有 條評論