一下是personbanzhong 表: /*----人员班种表---*/ if exists (select * from sysobjects where name='PersonBanZhong') drop table PersonBanZhong create table PersonBanZhong ( PBZ_ID int primary key identity(1,1) not null,--编号 U_ID varchar(50) not null,--员工登录名 U_Name varchar(50) not null,--员工真实姓名 BZ_ID int not null,--班种编号 PBZ_Date smalldatetime not null--执行班种日期) go
设置数据源
基本不用写代码
repeater
datalist都可绑定数据
/*----人员班种表---*/
if exists (select * from sysobjects where name='PersonBanZhong')
drop table PersonBanZhong
create table PersonBanZhong
(
PBZ_ID int primary key identity(1,1) not null,--编号
U_ID varchar(50) not null,--员工登录名
U_Name varchar(50) not null,--员工真实姓名
BZ_ID int not null,--班种编号
PBZ_Date smalldatetime not null--执行班种日期)
go