By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,154 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,154 IT Pros & Developers. It's quick & easy.

How do I display records in a richtextbox?

P: 1
Hi, I am developing a program in visual basic that extracts info from an access database.

So far I know how to add records, make a query and count the number of records that that query gives, but I don't know how to display the entire records that the query gives. Any idea?

So far I have: (it counts the number of records found, but I don't know how to display them)

con.ConnectionString = directory

sql = "select * from proyectos where mes='" & ComboBox6.Text & "' and año='" & TextBox1.Text & "';"
Dim dt As New DataTable
Dim o As New OleDb.OleDbDataAdapter(sql, con)
Nov 23 '09 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 8,127
if you want to display all the records simply use any grid control.
Nov 24 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.