how can i connect the samble database that comes with vb-6
(biblio.mdb) to a datagrid using code?
ie what code i have to put in load event
Answer / karan munjal
make the adodc connection with database from its property
connection string & connect datagrid with adodc & write the code
adodc_.recordsource = "select * from table name"
datagrid.refresh
adodc.refresh
| Is This Answer Correct ? | 5 Yes | 1 No |
Is there any Edit method in ADO Data Access method?
What is ADO?
How do you make a TEXTBOX read only? Or, how do I prevent the user from changing the text in a TEXTBOX?
What is the use of ActiveX Documents?
What are properties available in Clip Board?
How can I speed up my VB database application?
What do you mean by Databound Controls? Explain.
How would you attach an ActiveX control in Your Application?
Is it posible to Create Tables Through Querydef?
What is the purpose of the DoEvents command?
What is OLEDB?
What is view Port?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)