|
-
July 4th, 2002, 09:01 AM
#1
How to read records from a database
Can someone show me how to read all the records from a database?
Here's what i have:
---
MyCommand.CommandText = "SELECT * FROM swdata";
OdbcDataReader MyDataReader;
MyDataReader = MyCommand.ExecuteReader();
< what code goes in here?>
MyDataReader.Close();
MyConnection.Close();
---
thanks
-mttomb-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|