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 objects?
What are the data providers in ADO.NET framework?
What are the benefits of ADO.NET?
What is difference between ado.net and asp net?
What are the benefits of using of ADO.NET in .NET 4.0?
What are datareaders?
How to enable and disable connection pooling?
How to store data in memory?
What is the difference between DataReader and DataSet in ADO.NET?
differences between ADO and ADO.NET
Which namespaces are used for data access?
What is difference between datareader and dataadapter?
What is aggregate root?
How can I retrieve two tables of data at a time by using data reader?
If a table contains 20000 records. In a page at each time 100 records to be displayed.