Foxtable(狐表)用户栏目专家坐堂 → 数据不能写入


  共有1800人关注过本帖树形打印复制链接

主题:数据不能写入

帅哥哟,离线,有人找我吗?
nxqtxwz
  1楼 | QQ | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:六尾狐 帖子:1495 积分:12175 威望:0 精华:0 注册:2013/3/19 16:41:00
数据不能写入  发帖心情 Post By:2018/11/29 21:23:00 [显示全部帖子]

请问老师,为什么数据写不到“职工信息总表”的相应列中呢?

 

 Case "kj.htm"
        Dim dr As DataRow = DataTables("职工信息总表").AddNew()
        Dim wb As New WeUI '定义一个基于weui框架的网页生成器
        wb.AddForm("","form1","kj.htm")
        With wb.AddInputGroup("form1","ipg1","职工信息总表")
            .AddSelect("cp","姓名","PD01|PD02|PD03|PD04|PD05")
            .AddInput("gy","性别","text")
            .AddInput("kh","民族","text")
            .AddInput("dj","年龄","number")
            .AddInput("zk","编制","text")
            .AddInput("sl","政治面貌","text")
            .AddInput("rq","出生日期","date")
        End With
        With wb.AddButtonGroup("form1","btg1",True)
            .Add("btnok","确定")
        End With
        e.WriteString(wb.Build) '生成网页
        dr.Save()


 回到顶部