Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:查询语句执行出错???

1楼
migold 发表于:2011/5/30 11:34:00
Dim cmd As New SQLCommand
Dim T1 As String = "SELECT Count(*) FROM {窗口4_Table3}"
Dim abc As String
cmd.  CommandText = T1
abc = cmd.  ExecuteScalar
output.show(abc)
2楼
狐狸爸爸 发表于:2011/5/30 11:44:00

这是从后台查询的,后台会有"窗口4_Table3"这个表吗?

你要知道“窗口4_Table3"有多少行,直接:

 

Dim cnt  As integer = Tables("窗口4_Table3").Rows.Count

共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .01563 s, 2 queries.