Can VWD generate it by itself? I have a MDF file and I need to get the connection string.
What do you mean by generate it by itself?
||| Ok, forget generating itself, how do I make the connection string for a mdf?
Hi,
Form your description, it seems that you want to generate your connection string which links to a mdf file, right?
As for the "automatic way", do you mean an easy way to build the connection string? If so, you can use the connection builder to help you on creating the connection string. There are many ways to open the connection builder. i.e. Drag a SqlDataSource onto the webform, and configure the datasource, and click on "New Connection", and then you can select the server name, attach the database file, after that, click Ok, a new connection string would be added into Web.Config.
Thanks.