How would u connect to database using .NET?
Answer Posted / ramakrishna
sqlconnection cn =new sqlconnection("uid=sa;pwd=sa;data
source=servername;database=databasename");
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is ado.net and its architecture?
What are two important objects of ADO.Net?
What do you mean by performing asynchronous operation using command object?
How to Read, Add, Update and Delete record in Entity Framework ?
What does sqldatareader return?
What is sqldatasource?
Explain which name space is used to get assembly details?
Which namespaces are used for data access?
Explain what are acid properties?
Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!
What is sql command in ado net?
Explain the advantages and disadvantages of using datalist?
Why do we use sqldataadapter?
What is dao and ado?
List the 4 common ado.net namespaces?