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 the difference between a datareader and a dataset?
What does ado stand for in ado.net?
What is XML serialization
How to connect and retrieve data from database using dataset
how can implement dropdownlist in particular of dataset when try to update?
What is disconnected architecture in ado.net?
What are datareaders?
Is ado.net an orm?
Is it possible to edit data in Repeater control?
Which method is used to sort the data in ADO.Net?
How many major types of connection objects in ADO.NET?
What is ado asp?
What is difference in record set and dataset?
What is disconnected data?
What is microsoft ole db provider for sql server?