how to retrieve binary data from database (using c#.net and
sql server/windows application)
Answer Posted / brajesh
byte[] m_MyImage = (byte[])dr["photo"];
Response.BinaryWrite(m_MyImage);
| Is This Answer Correct ? | 8 Yes | 13 No |
Post New Answer View All Answers
What is _viewstart cshtml?
Why do we need delegates in c#?
Define constructor in c#.
What are nested classes in c#?
Are tuples mutable c#?
Overloaded constructor will call default constructor internally?
What is a .aspx file?
What is the difference between inheritance and abstract class?
What is difference between method overriding and method overloading?
How long has c# been around?
Are multiple data types stored in System.Array?
What is deferred execution?
What are types of constructor?
Are arrays value types or reference types?
Does c# support multilevel inheritance?