You are developing a windows forms application. The front end application is connected to the Sql Server 2008 database. The front end application is expecting to get a BLOB (Binary large object) from the backend application. How do you configure the command to return BLOB?

 Posted by Niladri.Biswas on 1/18/2013 | Category: Others Interview questions | Views: 1991 | Points: 40
Select from following answers:
  1. By setting its Connection property to read binary data
  2. By calling the ExecuteNonQuery method and reading the results into a BinaryReader
  3. By calling the ExecuteReader method and casting the DataReader to a BufferedStream
  4. By setting the CommandBehavior to SequentialAccess in the ExecuteReader methods constructor
  5. All Above

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response