|
-
Apr 2nd, 2005, 01:03 PM
#1
Thread Starter
Frenzied Member
Writing the lines of codes from a SqlDataReader
ok i am trying to write the lines of code that write the data in the sqldatareader to the html stream returned to client, THe name is a varchar(40) and age is an int(4).But i wanted my html to format the returned records..
THis is all i have so far
SqlCommand cm = new SqlCOmmand();
cm.Connection = conn;
Conn.Open()
cm.CommandText = "Select name, age from records";
SqlDataReader dr = cm.ExecuteReader();
Sorry for the dumb question...
-
Apr 3rd, 2005, 12:56 AM
#2
Re: Writing the lines of codes from a SqlDataReader
Your question isn't clear. You want to format the output received in the datareader or do you want to write the vb.net code that you're using right now with the datareader?
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
|