English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have the code to connect to a database. I want to know how to create a data adapter and a dataset(I use a sql database). I want to do this by writing the code and not in the design view.
Thanks.

2006-08-01 16:08:17 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

1 answers

Create a record set object using ADO DC Control.
With that you can run your query like
adodc.execute("Select ....")

Once your query is executed, you can use FirstRecord, NextRecord methods to move in your recordset.

Use adodc.Fields() or adodc.fields("") to retrive the fields.

2006-08-01 21:16:56 · answer #1 · answered by Indian_Male 4 · 0 0

fedest.com, questions and answers