title: How to get column names and other metadata from a table or resultset
body: <p>EX In "Data" table </p>
  
  <ul>
  <li>type of column from moisture to end is Boolean</li>
  <li>I want to get column name has data is "1" to combobox</li>
  </ul>
  
  <p>Specifically, for each row of my result set, I need a collection of those column names which contain the value <code>1</code> so I can populate a combobox.</p>
  
  <p>Sorry for my English I'm not good enough.</p>
  
  <p><a href="http://upic.me/i/cu/6css1.png" rel="nofollow">pic "Data" table</a> </p>