Connection of SQL file to web page

How we can pulish the connectivity of SQL query to the HTML file or web page? Please Explain.

Questions by sonukarnatak

Showing Answers 1 - 3 of 3 Answers

Normally connection of SQL file to a web page can be done in two ways

1. Through the code
2. In web config file

If we give through the code, we need to alter the relevant pages, where as if we give through web config , this will be a common file and will be accessed by all files.  More if any changes in tatabases connection then it is easy

Connection is established by giving connection strings.  connection strings is nothing but details of the server, username and password to establish connection

Hope this has made things clear

Thanks
Anna

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions