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
oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?
What is ole used for?
What are the disadvantages of using datalist?
Explain executenonquery?
What are the advantages of ado.net?
What is an ado connection?
What is command class in ado.net?
What are the objects of ado.net?
Explain advantages of ado.net?
What is connected architecture in ado.net?
What is ado rdo dao in visual basic?
What is read only and forward only in ado.net?
Is ado.net an orm?
How do you update a dataset in ado.net and how do you update database through dataset?
Explain the two fundamental objects in ado.net?