Sql to excel
i want to bind sql data table names to dropdownlist,when i selected datatable name below in excel sheet the columns of that table has to diaplay ....IN MVC
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sanjay KumarRank #561 · 4.3K reputationPosted Apr 3, 2014, 11:31 AM EDT
http://www.c-sharpcorner.com/UploadFile/9c6206/import-data-from-excel-file-to-database-table-in-Asp-Net-mvc/
Jignesh TrivediRank #16 · 50.3K reputationPosted Apr 3, 2014, 11:12 PM EDT
I cannot understand you question.
Can you please provide more information?
Pradip PandeyRank #452 · 5.6K reputationPosted Apr 4, 2014, 3:30 AM EDT
To bind Ssl data table name, use this query
SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE'
It will return all tables of the database.
To display columns of the selected table, use this query
Then export it into excel.
Hope it will help you.