المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Question ?



C# Programming
11-26-2009, 07:10 AM
You have a SQL command that returns a BLOB. You are retrieving the data via a DataReader, but you are having problems using the default behavior.
Referring to the scenario above, which one of the following

CommandBehavior options, specified as an argument to the ExecuteReader method, allows you to use the GetBytes() method to retrieve the BLOB from a stream?


Choice 1
CommandBehavior.SequentialAccess
Choice 2
CommandBehavior.SingleResult
Choice 3
CommandBehavior.SingleRow
Choice 4
CommandBehavior.LargeData
Choice 5
CommandBehavior.BinaryAccess