Computing.Net > Forums > Programming > How to show data in DataGrid

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to show data in DataGrid

Reply to Message Icon

Name: Apple
Date: December 12, 2003 at 21:17:45 Pacific
OS: win98
CPU/Ram: 166
Comment:

Iam using ADO in vb6 & I want to show my data using Data Microsoft GridControl 6.0 (OLEDB) .How can i do that..?
I try this code as by using Microsoft ADO Data Control 6.0 (OLEDB) & it works fine but how can i write the code to do it by using ADO..?


The code which i use with ADO Data Contol was as under...

Private Sub Form_Load()
Adodc1.RecordSource = "SELECT * FROM patient_info "
Adodc1.Refresh
DataGrid1.Refresh
End Sub




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: How to show data in DataGrid

how to write trees in VB www.computing.net/answers/programming/how-to-write-trees-in-vb/12216.html

how to store data as bad sector www.computing.net/answers/programming/how-to-store-data-as-bad-sector-/13618.html

how to send data client(c++) to server(c#) www.computing.net/answers/programming/how-to-send-data-clientc-to-serverc/20139.html