how do I bind, say a datatable to gridview when columns in the datatable are not known at desgin time. I tried to loop through all the columns in the datatable in code and dynamically create the gridview, but it always displays the values from the first row only, for all the items

listview/gridview binding question
Omns
Yes, you would have to build the columns dynamically as you say. It just sounds like your bindings aren't being created correctly. Can you share your logic for building the columns
Cheers,
Drew
Frederic13