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 are the rules to implement connection pooling?
How is it possible to get 2 tables of data at a time by using data reader?
Compare Data Reader & Dataset in ado.net?
Does entity framework use ado.net?
Explain what is datagrid with an example?
If a table contains 20000 records. In a page at each time 100 records to be displayed.
Explain the different row versions available in table?
How is entity framework different from ado.net?
What are the main differences between classic ado and ado.net?
How to Read, Add, Update and Delete record in Entity Framework ?
What is a data control clerk?
How can we perform transactions in .net?
What are the different ado.net namespaces?
Can we do database operations without using any of the ado.net objects?
Explain the differences between oledb sql server, oledbdotnet provider?