Foxtable(狐表)用户栏目专家坐堂 → 菜单设计


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

主题:菜单设计

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


加好友 发短信
等级:贵宾 帖子:35433 积分:178524 威望:0 精华:3 注册:2013/3/30 16:36:00
  发帖心情 Post By:2014/9/23 9:10:00 [显示全部帖子]

Dim tn As DataRow = DataTables("表A").Find("判断=True","编号 Desc")
if tn isnot nothing then
xz.text= tn("编号")
else 
dim ts as datarow = datatables("表A").addnew
ts("编号")="001"
end if

 回到顶部
帅哥哟,离线,有人找我吗?
Bin
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:贵宾 帖子:35433 积分:178524 威望:0 精华:3 注册:2013/3/30 16:36:00
  发帖心情 Post By:2014/9/23 9:33:00 [显示全部帖子]

Dim tn As DataRow = DataTables("表A").Find("判断=True","编号 Desc")
if tn isnot nothing then
xz.text= tn("编号")
else 
tn = DataTables("表A").Find("","编号")
if tn isnot nothing then
xz.text= tn("编号")
else 
dim ts as datarow = datatables("表A").addnew
ts("编号")="001"
end if
end if

 回到顶部