Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: ASP Query


Message #1 by "O'Hara, Elliott M" <EMOHARA@k...> on Mon, 30 Apr 2001 08:55:07 -0400
How can I return the Column names (not their values) of an ADO Recordset???

 

Message #2 by Scott Watermasysk <swatermasysk@C...> on Mon, 30 Apr 2001 09:42:22 -0400
You can use the .Fields property of the record set.





For Each fld In rs.Fields

 SomethingEquals = fld.Name

Next



-Scott



-----Original Message-----

From: O'Hara, Elliott M [mailto:EMOHARA@k...]

Sent: Monday, April 30, 2001 8:55 AM

To: ASP Web HowTo

Subject: [asp_web_howto] ASP Query





How can I return the Column names (not their values) of an ADO Recordset???

 

Message #3 by "O'Hara, Elliott M" <EMOHARA@k...> on Mon, 30 Apr 2001 10:22:22 -0400
Thanks...

I was using the for each...

But I didn't even know about the .name method..

thanks



-----Original Message-----

From: Scott Watermasysk [mailto:swatermasysk@C...]

Sent: Monday, April 30, 2001 9:42 AM

To: ASP Web HowTo

Subject: [asp_web_howto] RE: ASP Query



You can use the .Fields property of the record set.





For Each fld In rs.Fields

 SomethingEquals = fld.Name

Next



-Scott



-----Original Message-----

From: O'Hara, Elliott M [mailto:EMOHARA@k...]

Sent: Monday, April 30, 2001 8:55 AM

To: ASP Web HowTo

Subject: [asp_web_howto] ASP Query





How can I return the Column names (not their values) of an ADO Recordset???




  Return to Index