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
how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....
What is microsoft ado?
What is the difference between ado.net and entity framework?
What is serialization and de-serialization in .net? How can we serialize the dataset object?
What is the use of connection object in ado.net?
How to create data relations?
What is basic use of data view?
What are the methods of XML dataset object?
What is an ado?
Which is the best method to get two values from the database?
What is aggregating data ?
What is row state?
What is the difference between ado.net and oledb?
Explain what are acid properties?
What are the advantage of ado.net?