How would u connect to database using .NET?
Answer Posted / rajeev ranjan lall
SqlConnection conn = new SqlConnection("Data
Source=ServerName;Initial Calalog=DatabaseName;User
ID=username;Password=password")
Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
What is disconnected data?
How to perform sorting on a table in ADO.NET?
Why edit is not possible in repeater?
How can we check that some changes have been made to dataset since it was loaded?
What is the current version of entity framework?
What is connection pooling and what is the maximum pool size in ado.net connection string?
Explain the differences between oledb sql server, oledbdotnet provider?
What are the several execute methods of ado.net?
What is ado.net architecture?
Which object needs to be closed?
What is namespace in ado.net?
What is data relation?
What is the difference between OLEDB Provider and SqlClient?
What is the difference between Response.Expires and Reponse.ExpiresAbsolute?
What are dcl commands?