How do we invoke queries from the application ?

Answer Posted / shwetha

by the namespace using System.Data.Sqlclient


by using Sqlcommand

Dim cmd as new Sqlcommand("Queries");

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about ado.net's objects?

500


What is microsoft ole db provider for sql server?

479


Is it possible to edit data in Repeater control?

533


What is a string variable?

491


Explain all the classes those are used for database connections between sql server and asp.net?

509






Which is faster datareader or dataadapter?

533


What is the default timeout specified for "sqlcommand.commandtimeout" property?

547


What is an example of ordinal data?

489


What is the difference between DataReader and DataSet in ADO.NET?

592


Which object is used to add relationship between two Datatables?

579


What is commandbuilder in ado.net?

526


How to add a check box or a dropdown list to a column in a datagrid?

537


What does datareader object do?

543


What is difference between entity framework and ado.net?

481


What is the difference between a datareader and a dataset?

518