displaying sql query result
how do i display the sql query result in a grid ,so as to the other columns should be hidden .for example if i select name,,then only name entries shoould be der, tthere should be only one column.similarly for name ,rollno -2 columns and so on ..
databinding in xaml cant be applied obviously ...as colums are to be generated dynamically .
please help ..