Khargesh Rajput

Khargesh Rajput

  • NA
  • 5.6k
  • 589.6k

connect Microsoft SQL server 6.5 in asp.net application

Jun 8 2015 6:21 AM
Please give answer with explaination
 
Question is---

You need to connect the MS SQL Server 6.5 to your ASP.net application. What should you do?

answer is 
1.) Use an OleDbConnection object to connect to the database, and use an OleDbCommand
object to run a stored procedure that returns the data
 
but 
I have selected 
 
Use a SqlConnection object to connect to the database, and use a SqlCommand object to run
a stored procedure that returns the data