str = "select * from seekresult order by 分数 desc"
Adodc1.RecordSource = str
Adodc1.Refresh
While Not Adodc1.Recordset.EOF '把名次加进数据库里
Adodc1.Recordset("名次") = Adodc1.Recordset.AbsolutePosition
Adodc1.Recordset.MoveNext
Wend
Adodc1.Recordset.UpdateBatch
Adodc1.RefreshDG1.Visible = True
DG1.Refresh为什么dg1表格里的名次字段里最后一名的信息显示不出来是空白,数据库里有这个名次值,但当前行的其它字段值都能显尖出来
Adodc1.RecordSource = str
Adodc1.Refresh
While Not Adodc1.Recordset.EOF '把名次加进数据库里
Adodc1.Recordset("名次") = Adodc1.Recordset.AbsolutePosition
Adodc1.Recordset.MoveNext
Wend
Adodc1.Recordset.UpdateBatch
Adodc1.RefreshDG1.Visible = True
DG1.Refresh为什么dg1表格里的名次字段里最后一名的信息显示不出来是空白,数据库里有这个名次值,但当前行的其它字段值都能显尖出来
解决方案 »
- 如何让 CommonDialog1.ShowOpen 对话框按 详细信息,修改时间 来排列
- 怎么在VB里读取CAB文件的内容啊
- 问题出在哪里?该如何关闭时间控件?
- 我的EXCEL对象怎么清不掉呀-----------帮帮忙啦!!!!
- vb中的按钮的字体颜色怎么改?怎么事先Flat样式的按钮?
- 谁会用API函数中的加密函数?
- 用Text Box怎么打开文本文件?
- 怎样在VB中连接连接数据库,(主要是连接Access数据库)?
- 简单问题,气死我了,看看下面的语句有什么错?
- 请求帮助,一个VB的winsock问题
- vb中如何判断查询informix返回字段的值为空
- 请问我没有用扩展控件,为什么在别的机器上运行我的程序会出现runtime error 380?
With Me.DataGrid1
.AllowAddNew = False
.AllowArrows = True
.AllowDelete = False
.AllowUpdate = True
End With
End Sub