Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Display Record in DBGrid

Status
Not open for further replies.

SMA00

MIS
May 15, 2005
10
CA
Hi Friends,

I have ADODC control, DBGrid1 Control and following SQL statemnt.
SQL = Select custid, name, address from Customer

I am unable to display in my result in DBGrid1.

Can you guide or provide sample how to bind the and display result in dbgrid.

What setup do i need to use in ADODC1 and DBGrid1 to display record.

Best Regards
SM
 
first of all do not use bound controls. search for BOUND vs UNBOUND controls and you will see why.

Use plain code to load you data.

Second, if you search your help system (msdn), you will find plenty of examples of what you need to do.

And you can always search these forums and for samples.

When you have some code other than what you have shown please come back here and we will help further.




Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
I just answered this in your duplicate post on the same subject. (There are numerous answers to this post in thread709-1147524.) SMA00, you might want to read FAQ-2244 for tips on how to get the best answers to your questions and also make it easier for people to help you. In particular, there are some reasons why multiple posting isn't as good an idea as it seems to be! (Seemed like a great idea to me when I was new here, too, but it really just winds up wasting everyone's time.)

HTH

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top