custom connection string in sqlconnection

Hi.

I have a lot of forms to develop, so I am creating components using drag and drop from the toolbox. I drag a sqlconnection,sqldataadapter and dataset, and use the commandbuilder.
So I can create automaticaly the store procedures, data adapters and datasets i will use in my forms.
The only problem is that I need to obtain the connection string from a configuration file or database, and not configuring it directly in the component window. But if I change something in the Initialize Component, the dataadapters stops working.
How can I change (or when) the connection string 

Regards,
Alberto Abudara.


Answer this question

custom connection string in sqlconnection

  • custom connection string in sqlconnection