How would u connect to database using .NET?
Answer Posted / vivek
using Connection object
SqlConnectin cn=new SqlConnection();
from .net we can connect to any backend with middlleware
and direct connections.
middleware means ODBC,OleDb,ISAM etc.
we can directly connect to Sqlserver and Oracle
we can connect to sql server in 4 ways
1)direct connection
2)ODBC way
3)OleDb way
4)Express way
for oracle we can connect in 3 ways.
1)direct connection
2)ODBC way
3)OleDb way
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is Serialization in .NET? what are the types of Serialization?
What is ado net stands for?
What is data access pattern?
What is the difference between executequery and executenonquery?
What is connection in ado.net?
What are the advantages and drawbacks of using ado.net?
Why do we use sqldataadapter?
how can implement dropdownlist in particular of dataset when try to update?
Which namespaces are used for data access?
Is bulk insert faster than insert?
What is Data Provider?
Explain the advantage of ADO.Net?
Command objects uses, purposes and their methods.
What is the use of data grid?
Explain the difference between ado and ado.net?