views:

19

answers:

1

Is there any way or object in the .Net Framework to help me show the "Add Connection" dialogue from my C# code? I'm trying to develop my custom Code Generator for MVC and I need the application to be able to connect to different types of databases like SQL Server, SQLite and SQL CE.

I've done a 30 minutes search already, with no results. google keeps talking about Office ConnectionManager all the time which is obviously not what I'm seeking.

Thanks :)

+1  A: 

I think this is what your looking for (not 100% sure) - check this post:

http://stackoverflow.com/questions/3087555/ado-net-entity-model-is-there-a-dialog-for-selecting-the-database/3087619#3087619

code4life
Thanks :)That's what I'm looking for.
Achilles