Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I want to display all table names in drop down list from a database.here i am using entity framework for database connectivity.But this is webform.How to bind all table names in ddl using EF in Webforms.

What I have tried:

Help Me guys. i got solutions in MVC only, i need in webforms c#.
Posted
Comments
F-ES Sitecore 14-Apr-17 10:08am    
Google "entity framework get all table names" and you'll find solutions for this, however it'd probably be easier to write a stored procedure that lists the table names and call that sp from your code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900