How to add record to datagridview?

This is a discussion on How to add record to datagridview? within the ODBC forums in Framework and Interface Programming category; I selected records as follows: rs = New ADODB.Recordset rs.LockType = ADODB.LockTypeEnum.adLockOptimistic cn.Open(strcnn) mykey = "select* from ABC where part = '"& thisform.txtpart.text & "' " rs = cn.Execute(mkey) Now I want to add rs to datagridview which is grid on my form. I would appreciate if someone please reply. Thanks...

Go Back   Application Development Forum > Framework and Interface Programming > ODBC

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-25-2006, 12:49 AM
Mac
Guest
 
Default How to add record to datagridview?

I selected records as follows:


rs = New ADODB.Recordset

rs.LockType = ADODB.LockTypeEnum.adLockOptimistic

cn.Open(strcnn)


mykey = "select* from ABC where part = '"& thisform.txtpart.text & "' "

rs = cn.Execute(mkey)

Now I want to add rs to datagridview which is grid on my form.

I would appreciate if someone please reply.

Thanks


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:37 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.