I have a program that queries a database and returns the values that are entered as the user goes along, the results are returned for a final check in a datagrid.
I have bound the columns so I get only the results that I need but I want to know if there is a way to show only the bound columns that have data returned to them.
for example the user orders three red items but no white ones I would like to show the column for the red items only but if the user wanted three red and three white I would need to show the red and white columns unfortunately I cant use the "select *" statement because there are field the user should not see.
Hope this makes sense.
I have bound the columns so I get only the results that I need but I want to know if there is a way to show only the bound columns that have data returned to them.
for example the user orders three red items but no white ones I would like to show the column for the red items only but if the user wanted three red and three white I would need to show the red and white columns unfortunately I cant use the "select *" statement because there are field the user should not see.
Hope this makes sense.