如何通过编码将数据网格与记录源的记录绑定? [英] How to bind a datagrid with the records of a recordsource through coding ??
本文介绍了如何通过编码将数据网格与记录源的记录绑定?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何通过编程将datagrid与记录源中存在的记录绑定起来?
另外一件事是记录源中存在的记录的数量可能会因用户输入。
TIA
问候
vishwas
解决方案
如果你正在使用ADO数据控件那么
试试这个
展开 | 选择 | Wrap | 行号
不,我没有使用adodc连接。
i有以下连接用于连接数据库的字符串。
ConnString =" Provider = Microsoft.Jet.OLEDB.4.0;" &安培; _
数据源= D:\feemgmt.mdb;" &安培; _
" Persist Security Info = False"
设置con =新ADODB.Connection
con.ConnectionString = ConnString
con.Open ConnString
所以我该怎样做才能通过编码将数据网格与记录源的记录绑定起来。
PLZ帮助它紧急
TIA
最好的问候
vishwas
< blockquote>
我没有使用adodc连接。
i有以下连接字符串连接到数据库。
ConnString =" Provider = Microsoft.Jet.OLEDB.4.0;" &安培; _
数据源= D:\feemgmt.mdb;" &安培; _
" Persist Security Info = False"
设置con =新ADODB.Connection
con.ConnectionString = ConnString
con.Open ConnString
所以我该怎样做才能通过编码将数据网格与记录源的记录绑定起来。
PLZ帮助它紧急
TIA
最好的问候
vishwas
有没有人可以帮我????
How i can bind the datagrid with the record that are present in a recordsource through programming?
one more thing is that the no of record present in the recordsource may vary according the users input.
TIA
regards
vishwas解决方案if u are using ADO data control then
try this
Expand|Select|Wrap|Line Numbers
no i am not using the adodc to connect.
i have the following connection string to connect to the database.
ConnString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=D:\feemgmt.mdb;" & _
"Persist Security Info=False"
Set con = New ADODB.Connection
con.ConnectionString = ConnString
con.Open ConnString
so what can i do to to bind a datagrid with the records of a recordsource through coding.
plz help its urgent
TIA
with best regards
vishwas
no i am not using the adodc to connect.
i have the following connection string to connect to the database.
ConnString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=D:\feemgmt.mdb;" & _
"Persist Security Info=False"
Set con = New ADODB.Connection
con.ConnectionString = ConnString
con.Open ConnString
so what can i do to to bind a datagrid with the records of a recordsource through coding.
plz help its urgent
TIA
with best regards
vishwas
is there anybody who can help me ????
这篇关于如何通过编码将数据网格与记录源的记录绑定?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取
|
15天全站免登陆