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
Explain the architecture of ado.net?
Is ado.net dead?
What is typed dataset ?
What is ado code?
How to retrieve the user id which is provided while windows authentication?
What is the difference between Dataset. clone and Dataset.copy?
Explain how to bind the controls(best practice) comboboxes to the data in the dataset?
What is the full form of ado.net?
What is executenonquery ado.net?
How to creating a SqlCommand Object?
Explain ODP.net
differance between ADO vs ADO.Net?
Can datareader hold data from multiple tables?
How can we perform transactions in .net?
What do you mean by ‘batch updates’?