Answer Posted / sandyni
Command object is used to connect the connection object to
data reader or dataset. and is used to execute queries and
stored procedures which are defined in the commandtext
property.
the main methods for command object property are....
1. ExecuteNonQuery()
2.ExecuteReader()
3.ExecuteScalar()
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between ado and ado.net?
Why do we use sqldataadapter?
Define executenonquery?
How to aggregating data across related tables?
What is data reader in ado.net?
What is data view and variable view?
If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?
How to copy the contents from one table to another table and how to delete the source table in ado.net?
How do you connect to sql server database without using sqlclient?
What is data adapter in ado.net with example?
Explain all the classes those are used for database connections between sql server and asp.net?
Why is ADO.NET serialization slower than ADO ?
What connected data?
How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?
Explain how do you connect to sql server database without using sqlclient?