泰拉瑞亚扩音器合成:对象'Refresh'的方法'IAdodc'失败“是怎么一回事情啊?
来源:百度文库 编辑:神马品牌网 时间:2024/05/17 00:25:01
对象'Refresh'的方法'IAdodc'失败"是怎么一回事情啊,我写的代码运行错误总有这个提示.错在哪?如何写正确?
代码为:Dim mzy As String
Select Case Combo1.ListIndex
Case 0
mzy = InputBox$("请输入学号", "查找窗")
Adodc1.RecordSource = "select * from 学生成绩表 where 学号 like'" & mzy & "'"
Adodc1.Refresh
If Adodc1.Recordset.EOF Then
MsgBox "无此学号", , "提示"
Adodc1.RecordSource = "select * from学生成绩表"
Adodc1.Refresh
End If
Case 1
mzy = InputBox$("请输入姓名", "查找窗")
Adodc1.RecordSource = "select * from 学生成绩表 where 姓名 like'" & mzy & " '"
Adodc1.Refresh
If Adodc1.Recordset.EOF Then
MsgBox "无此姓名", , "提示"
Adodc1.RecordSource = "select * from学生成绩表"
Adodc1.Refresh
End If
End Select
我用的是VB6.0
代码为:Dim mzy As String
Select Case Combo1.ListIndex
Case 0
mzy = InputBox$("请输入学号", "查找窗")
Adodc1.RecordSource = "select * from 学生成绩表 where 学号 like'" & mzy & "'"
Adodc1.Refresh
If Adodc1.Recordset.EOF Then
MsgBox "无此学号", , "提示"
Adodc1.RecordSource = "select * from学生成绩表"
Adodc1.Refresh
End If
Case 1
mzy = InputBox$("请输入姓名", "查找窗")
Adodc1.RecordSource = "select * from 学生成绩表 where 姓名 like'" & mzy & " '"
Adodc1.Refresh
If Adodc1.Recordset.EOF Then
MsgBox "无此姓名", , "提示"
Adodc1.RecordSource = "select * from学生成绩表"
Adodc1.Refresh
End If
End Select
我用的是VB6.0
SELECT语句有错误。
对象'Refresh'的方法'IAdodc'失败“是怎么一回事情啊?
vfp代码thisform.refresh中的refresh是表单对象的什么?
VB的Adodc1.refresh执行总失败。提示IAdodc失败
对象名 'list_book' 无效。ASP 的网站SQL数据库,老出对象无效
缺少对象: 'rs'
asp 缺少对象: '' ??
缺少对象: 'Session(...)'
archive,report spam,more actions,refresh,learn more,是什么意思,是我的gmail邮箱里英文
以前的一个网站,现在进显示Cache List: style_Caches successfully created, please refresh,进不去
refresh怎么翻译??