In SQL Server And Adding Columns Dynamically in table
i have header of table in combobox and data in gridview then how to create table in database with combobox item value as a column name n defalut datatype and data is in gridview using c# window application
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Joginder BangerRank #360 · 7K reputationPosted Mar 20, 2015, 12:25 PM EDT
first of all am confused with your requirement, why are you create a dynamic table. If you really need this, i have no problem. First you create a combobox event and set the create tables query.