Yeah! if you dont want to create your own database connection dialog, why not use it the one from visual studio!? there are two dlls that you can reference to do just that. with it you can get support for all provider visual studio offers, sql, oracle, access etc the best thing is that safes you loads of time so you dont have to code that stuff to find sql databases on your network (grrr...). i have attached a small project with two dialog using it visual studio controls. have fun :P. (it should be easy to use this example to add the support to the other providers).
update: the dll names are:
Microsoft.Data.ConnectionUI.dll and Microsoft.Data.ConnectionUI.Dialog.dll
they are both in the IDE folder inside of the visual studio folder.
6 comments:
For this to have been a good blog post, you should have given the dll's names, and code samples ... and only after that should have said that you have a demo project for download.
Oh and I can't download the project.
thank you for the sugestion, i have updated the entry . ^^ i got lots to learn ! thank you dotspot
if you need another link let me know (if you still cant download)
Worked a treat dude. Saved me many hours thanks you.
Have a drink on me :-)
aye thank you kevin, this has save me a lot of hours too ^^
Post a Comment