Link to home
Start Free TrialLog in
Avatar of jdana
jdanaFlag for United States of America

asked on

.NET - VB (or C#) - Need to loop through the column names in a SQL Server table.

I'm building an ASP.NET Chart control on based on a SQL Server stored procedure that in turn is based on a pivot table.  Because the procedure is based on a pivot table, the columns returned by the procedure and the number of columns returned by the procedure will vary.  I need a VB loop that returns each of the column names.
ASKER CERTIFIED SOLUTION
Avatar of Imran Javed Zia
Imran Javed Zia
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Still need help?
Avatar of jdana

ASKER

Sorry for the slow response.  That was perfect.  Thanks!