用户
 找回密码
 立即注册

11

主题

22

帖子

2013

积分

金牌会员

Rank: 6Rank: 6

积分
2013
发表于 2019-11-23 12:46:53
    Me.Client.SQLite.Execute(New String() {"create table IF NOT EXISTS tbloudi (ID INT PRIMARY KEY     NOT NULL,NAME           TEXT    NOT NULL )"}, Function(obj, args)

                                                                                                                                                             If args.isError = True Then
                                                                                                                                                                 MessageBox.Show(args.[error])
                                                                                                                                                             Else
                                                                                                                                                                 Toast("SetDataBase sucess")
                                                                                                                                                             End If
                                                                                                                                                         End Function)

        Me.Client.SQLite.Read("select * from tbloudi", Function(obj, args)

                                                           If args.isError = True Then
                                                               ' MessageBox.Show(args.[error])
                                                           Else
                                                               Toast(args.Data.Rows.Count.ToString())
                                                           End If
                                                       End Function)

表为空时,查询报错:

分享至 : QQ空间
0 人收藏
使用道具 举报 回复
发表于 2019-11-25 10:34:27
具体报什么错,能提供完整的错误截图吗?
使用道具 举报 回复 支持 反对
发新帖
您需要登录后才可以回帖 登录 | 立即注册