What is sqlconnection and sqlcommand?



What is sqlconnection and sqlcommand?..

Answer / Aakansha Srivastava

SQLConnection represents a connection to a specific database, while SQLCommand represents a SQL command or stored procedure to be executed against the connected database.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?

1 Answers  


How to store data in memory?

1 Answers  


What is connection in ado.net?

1 Answers  


What is dataset object? Explain the various objects in dataset.

1 Answers  


What are the difference between readonly vs. Const?

1 Answers  


What is a control toolbox?

1 Answers  


what are types of Dataset ?

6 Answers   HCL,


ADO.NET is Disconnected Architecture. DataReader is connected Architecture, but DataReader is a part of ADO.NET. How is it possible?

3 Answers   Zensar,


We all know that Dataset is purely disconnected architechure, but we also know that we can update the changes made to the dataset can be updated in the backend database. when there is no connection how does the update happedn?

6 Answers   Accenture, FastStream,


Diff b/w DataReader,Dataset and Data table?

5 Answers   HCL,


What is ado oledb and odbc?

1 Answers  


Differnces between oracle 9i and sql server?

2 Answers   College School Exams Tests, Microsoft,


Categories