title: How can I get a list of the columns in a SQL SELECT statement?
body: <p>I'm wanting to get a list of the column names returned from a SQL SELECT statement. Can someone suggest an easy way to do this?</p>
  
  <p>I have a tool that lets users define a query using any SQL SELECT statement. The results of the query are then presented in a custom manner. To set up the presentation, I need to know the column names so that the user can store formatting settings about each column.</p>
  
  <p>Btw, the formatting settings are all being created via ASP.NET web pages, so the query results will end up in .NET if that helps with any ideas people have.</p>
  
  <p>Any ideas?</p>