When we need to connect to the existing database, we need to edit the file Web.config and add the section <connectionStrings>.
To bind the Data context and Database, we use the <connectionString> section.
Inside this section, we write the connectionString attribute.
To bind the Data context and Database, we use the <connectionString> section.
Inside this section, we write the connectionString attribute.
The value of this attribute can be taken by copying from the Data connection properties.
No comments:
Post a Comment