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

What does the dispose method do with the connection object?

768


Describe the overview of clr integration.

686


What is the interface in c#?

732


What is the difference between int and int in c#?

722


If you define a user defined data type by using the struct keyword, is it a value type or reference type?

710


What is a strong name in c#?

1033


Why to use lock statement in c#?

696


Explain about Threading Types.

846


Is c# static or dynamic?

723


What is a nullreferenceexception and how do I fix it?

772


what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?

767


What is the purpose of a console table?

672


What is .net c#?

662


Why do we use hashtable in c#?

693


How long does it take to get a loop recorder put in?

668