Hello people
I am very new to delphi
i have sql server 200 and I am trying to make a select statement and show the result of that select statement into TDBGRID. now I am not sure how to do this. what i have on my form is
1) TDATABASE
2) TDATASOURCE
3) TQUERY
i am able to run the sql properly and show data into an edit box, but now I want to be able to show the result of an sql statement in a dbgrid.
I will appreciate if you can guide me how to do this. I have been looking for it on internet a lot but cant find a proper guide to it.
I am very new to delphi
i have sql server 200 and I am trying to make a select statement and show the result of that select statement into TDBGRID. now I am not sure how to do this. what i have on my form is
1) TDATABASE
2) TDATASOURCE
3) TQUERY
i am able to run the sql properly and show data into an edit box, but now I want to be able to show the result of an sql statement in a dbgrid.
I will appreciate if you can guide me how to do this. I have been looking for it on internet a lot but cant find a proper guide to it.