You want to execute a SQL insert statement from your client application, so you set the CommandText property of the command object and open the connection.Which method will you execute on the command?

 Posted by Rajkatie on 8/22/2012 | Category: ADO.NET Interview questions | Views: 2107 | Points: 40
Select from following answers:
  1. ExecuteReader
  2. ExecuteNonQuery
  3. ExecuteScalar
  4. All Above

Show Correct Answer

Source: | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Srilu.Nayini577 on: 8/22/2012 | Points: 10
ExecuteNonQuery method that returns the no.of rows effected.

Login to post response