What does the parameter Initial Catalog define inside
Connection String?

Answer Posted / santhi

IN connection string for defining the database name we use the Initial Catalog As below:


<add name="sqldb"
connectionString="Data Source=sp-pc-45;Initial Catalog=TMS;User ID=santrhu;Password=123456" providerName="System.Data.SqlClient"/>

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you implement thread synchronization (object.wait, notify,and criticalsection) in c#?

619


What is Asynchronous call and how it can be implemented using delegates?

569


Are attributes inherited c#?

460


What is difference between iqueryable and ienumerable in c#?

451


Is java better than c sharp?

510






How do you pronounce c#?

499


What is stringbuilder c#?

507


How can I develop an application that automatically updates itself from the web?

474


What is the use of list in c#?

466


How to use session under class file of APP_Code folder?

515


What is Web.config?

543


What is type safe code?

472


what are the contents of an assembly ?

550


Is array a list?

487


What is difference between array and list?

491