borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (how to connect a ms-acess password protected database by adodc data control ??)Next Topic (connection a BD??) New Topic New Poll Post Reply
AndreaVB Forum : Database : Run Time Population of a DBGrid Thru Recordset
Poster Message
dpkrai
Level: Guest


icon Run Time Population of a DBGrid Thru Recordset

How a Db Grid be populated at run time thru Recordset (which is build using a run time query)

04-09-2002 at 06:42 AM
| Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1658
icon Re: Run Time Population of a DBGrid Thru Recordset

If you use a data connection with the grid bound to it -the grid has a "refresh", and the data connection's .Recordsource property can contain the query.

IE:
Data1.Recordsource = "SELECT * FROM table"
Data1.Refresh
DBGrid1.Refresh

05-09-2002 at 09:00 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : Database : Run Time Population of a DBGrid Thru Recordset
Previous Topic (how to connect a ms-acess password protected database by adodc data control ??)Next Topic (connection a BD??) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder