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
Why do we use sqldataadapter?
What are the rules to implement connection pooling?
What is two way data binding android?
What is the difference between Response.Expires and Reponse.ExpiresAbsolute?
What does datareader object do?
What is the difference between Data adaptor and Data set?
how can implement dropdownlist in particular of dataset when try to update?
Describe briefly an ADO.NET Dataset ?
Define Execute Reader?
What are all the different methods under sqlcommand?
What is ole in excel?
What is an ADO.Net?
Explain what is datagrid with an example?
What is the difference between connected and disconnected environment?
What are the pre-requisites for connection pooling?