create database Handset
go
use Handset
go
create table HandsetInfo
(
HId int primary key NOT NULL,
Hcards varchar(10) not NULL,
Htype varchar(10) not NULL,
Hunit varchar(10) not null,
Hplace varchar(4) not null,
Hcolor varchar(10) not null,
HtradePrice money not null,
Hprice money not null,
Htime varchar(10) not null,
Hremark varchar(30)
)
go
create table EmployeeInfo
(
EId int identity(001,1) primary key NOT NULL,
Ename varchar(10) not NULL,
Enamecode varchar(10) not NULL,
Epwd varchar(10) not null,
Esex varchar(4) not NULL,
Ephone varchar(20) NULL,
EIDcard varchar(20),
EfamilyPlace Varchar(50) NULL,
Edept varchar(10) not null,
Einttime Datetime default(getdate()) not NULL
)
go
create table SalesDepartment
(
Sid int identity(1001,1) primary key not null,
SSalesDepartment varchar(20) not null,
Sphone varchar(20) not null,
Sremark varchar(50) null
)
go
create table Client
(
Cid int identity(1,1) primary key not null,
Cname varchar(10) not null,
Csex varchar(10) not null,
Cnamecord varchar(10) not null,
Carea varchar(25) not null,
Chandset varchar(20) null,
Cfaxes varchar(20) null,
Cremark varchar(50) null
)
go
create table Fill
(
Fid int identity(001,1) primary key not null,
FFillName varchar(15) not null,
FlinkMan varchar(10) not null,
Farea varchar(20) not null,
FtouchTell varchar(20) not null,
Fpostalcode varchar(20) not null
)
go
CREATE TABLE Quitbale
(
Qid int IDENTITY (101, 1) primary key NOT NULL ,
QbalePlace varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
Qfill varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
Qphone int NULL ,
Qtime datetime NOT NULL DEFAULT (getdate()),
Qstrandsize int NOT NULL ,
Qbrand varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
QspecType varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
Qunit varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
Qnum int NOT NULL ,
QenterMoney money NOT NULL ,
QquitgoodsMoney money NOT NULL ,
Qmoney money not null,
Qarea varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
QinGoodRepairTime varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
QpaymentMode varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
Qremark varchar (40) COLLATE Chinese_PRC_CI_AS NULL
)
go
create table MobileSell
(
Mid int identity(101,1) primary key not null,
Mplace varchar(10) not null,
Mclient varchar(10) not null,
Mphone int null,
Mdate Datetime default(getdate()) not NULL,
MstrandNo int NOT NULL,
MrankBrand varchar(10) not NULL,
MspecType varchar(10) not NULL,
Munit varchar(10) not null,
MsellNum int not null,
Msellprice money not null,
Msellmoney money not null,
Moperation varchar(10) not null,
MinGoodRepairtime varchar(10) not null,
Mpayment varchar(10) not null,
Mremark varchar(40) null
)
go
create table OutFadeOdd
(
Oid int IDENTITY (101, 1) primary key NOT NULL ,
OGoodplace varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
Oclient varchar (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
OtouchTell varchar(30) NULL ,
Oquittime Datetime default(getdate()) not NULL,
OhandsetNum varchar(10) not null,
OrankCards varchar(10) not null,
OspecType varchar(10) not null,
Ounit varchar(10) not null,
OoutGoodsNum int not null,
OenterPrice money NOT NULL ,
OoutPrice money NOT NULL ,
OskillNum varchar(10) not null,
OinGoodRepairtime varchar(10) not null,
OmodeType varchar(10) not null,
Oremark varchar(30) not null
)
go
create table PhoneStock
(
Pid int identity(101,1) primary key not null,
PStorehouse varchar(10) not null,
PfillMan varchar(10) not null,
Pfilltell varchar(20) null,
Ptime Datetime default(getdate()) not NULL,
PhandsetNum varchar(20) NOT NULL,
Prank varchar(10) not NULL,
PspecType varchar(10) not NULL,
Punit varchar(10) not NULL,
PstockNum int not null,
Pstockprice money not null,
PretailPrice money not null,
PstockMoney money not null,
PproducingArea varchar(10) not NULL,
PtradePrice money not null,
PinGoodRepriaPrice varchar(10) not NULL,
PpaymentType varchar(10) not NULL,
Poperation varchar(10) not NULL,
Premark varchar(50) not NULL,
)
create table Question
(
QId int identity(1,1) primary key not null,
QQuestion varchar(200) not null,
QPeopleName varchar(8) not null,
QPriID int not null,
Qread int not null,
Qtime Datetime default(getdate()) not NULL
)
go
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
手机管理系统 CS架构 C# 源码 (114个子文件)
ResolveAssemblyReference.cache 6KB
Handset.csproj.GenerateResource.Cache 2KB
Handset.exe.config 395B
Handset.vshost.exe.config 395B
app.config 395B
HandsetDataSet2.Designer.cs 98KB
HandsetDataSet1.Designer.cs 90KB
HandsetDataSet5.Designer.cs 87KB
HandsetDataSet3.Designer.cs 65KB
HandsetDataSet.Designer.cs 56KB
HandsetDataSet4.Designer.cs 47KB
MainFrm.Designer.cs 42KB
PhoneStockFrm.designer.cs 38KB
QuitbaleFrm.Designer.cs 37KB
OutFadeOddFrmFrm.Designer.cs 36KB
HandsetInfoFrm.Designer.cs 29KB
FillFrm.Designer.cs 26KB
ClientFrm.Designer.cs 24KB
MobileSellFrm.Designer.cs 23KB
SalesDepartmentFrm.Designer.cs 17KB
ClientFrm.cs 14KB
FillFrm.cs 11KB
MainFrm.cs 11KB
LoginFrm.Designer.cs 10KB
QuestionFrm.Designer.cs 9KB
QuestionFrm.cs 7KB
MobileSellFrm.cs 7KB
LoginFrm.cs 7KB
UserHelper.cs 6KB
UserHelper.cs 5KB
Resources.Designer.cs 3KB
DBHelper.cs 2KB
DBHelper.cs 2KB
Settings.Designer.cs 2KB
AssemblyInfo.cs 1KB
SalesDepartmentFrm.cs 878B
PhoneStockFrm.cs 875B
HandsetInfoFrm.cs 854B
OutFadeOddFrmFrm.cs 849B
QuitbaleFrm.cs 841B
Program.cs 469B
FormHelper.cs 173B
Handset.csproj 11KB
IrisSkin2.dll 504KB
HandsetDataSet2.Designer.cs.dll 56KB
HandsetDataSet1.Designer.cs.dll 56KB
HandsetDataSet5.Designer.cs.dll 52KB
HandsetDataSet3.Designer.cs.dll 44KB
HandsetDataSet.Designer.cs.dll 40KB
HandsetDataSet4.Designer.cs.dll 36KB
WebValidates.dll 32KB
Properties.Resources.Designer.cs.dll 5KB
Handset.exe 5.12MB
Handset.exe 5.12MB
Handset.vshost.exe 6KB
MobileButton.ico 2KB
MobileButton.ico 2KB
Handset_log.LDF 560KB
Handset.mdf 2.19MB
Handset.pdb 454KB
Handset.pdb 454KB
Handset.MainFrm.resources 4.6MB
Handset.QuestionFrm.resources 196KB
Handset.FillFrm.resources 19KB
Handset.LoginFrm.resources 15KB
Handset.PhoneStockFrm.resources 4KB
Handset.MobileSellFrm.resources 3KB
Handset.SalesDepartmentFrm.resources 3KB
Handset.QuitbaleFrm.resources 2KB
Handset.ClientFrm.resources 2KB
Handset.OutFadeOddFrm.resources 2KB
Handset.HandsetInfoFrm.resources 1KB
Handset.Properties.Resources.resources 180B
MainFrm.resx 6.9MB
QuestionFrm.resx 300KB
FillFrm.resx 35KB
LoginFrm.resx 28KB
PhoneStockFrm.resx 12KB
SalesDepartmentFrm.resx 11KB
MobileSellFrm.resx 11KB
QuitbaleFrm.resx 9KB
ClientFrm.resx 9KB
OutFadeOddFrmFrm.resx 9KB
HandsetInfoFrm.resx 8KB
Resources.resx 5KB
Settings.settings 975B
Handset.sln 910B
Wave.ssk 46KB
SteelBlue.ssk 31KB
MSN.ssk 16KB
DiamondBlue.ssk 16KB
Emerald.ssk 12KB
MidsummerColor2.ssk 12KB
Handset.suo 60KB
HandsetSQL.txt 5KB
Handset.csproj.FileList.txt 717B
HandsetDataSet2.xsc 3B
HandsetDataSet.xsc 3B
HandsetDataSet1.xsc 3B
HandsetDataSet4.xsc 3B
共 114 条
- 1
- 2
资源评论
- z6812345678902013-12-25不错,就是有点复杂,,,
- west_joe2015-06-22第一次看的时候到时觉得有点复杂,但是后面自己做完一个项目之后感觉还是挺好懂的,这也是一个不错的例子
- huixinci2018-01-31不知道为什么,我读数据库总是出现异常呢?
m5230529
- 粉丝: 5
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功