Hosting Articles
Connection String For ASP And ASP.NETUsing SQL Server 2000
When we are start with programming in any language at that time we need to perform many basic tasks, one of them is connecting our application with database and for that we need to set one connection string which is the only way by which we can perform required operation on our database. If you are looking to add, update or delete data or you want to generate different output from your database using your application at that time first of all you have to set one connection string which can communicate with your database. Connection string is like bridge between your application and database. Without defining connection string you can not perform a single operation on your database.
Generally, most of novice programmer are facing problem on how to define connection string in their application so that they can communicate with their database to fulfill their desired task, to overcome this problem I will explain you how to define connection string in your application so that you can connect with database. But before moving further first of all notes that there are two ways of defining connection string in an application. One is using DSN which is called connection string using DSN and second one is without DSN which is called DSNLESS connection string. Here I will explain different connection string used in different languages and platforms.