views:

409

answers:

1

Is it possible to manually connect to the database using sqlclient and sqlconnection (ie standard ADO.net way) instead of using LINQ or Entity Framework in Asp.Net MVC?

Please guide me Thanks

+3  A: 

Yes. Nothing magic about MVC in that regard. Just create your connection and command the way you would have in the past in your action method and fill your DataTable.

tvanfosson
Could you please give me an updated answer as I've edited the question?Thanks
Josh
nevermind....maybe thats a seperate question by itself
Josh