问题如题目,请详细解释一下,初学c#,谢谢

解决方案 »

  1.   

    拖动GridView到页面上
    设置数据源
    基本不用写代码
      

  2.   

    gridview
    repeater
    datalist都可绑定数据
      

  3.   

    一下是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