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


Please Help Members By Posting Answers For Below Questions

Explain data types in c#?

518


Can you use all access modifiers for all types?

537


What is firstordefault c#?

538


What is the implicit name of the parameter that gets passed into the class set method?

484


What is array collection?

490






Can you declare a field readonly?

536


What is a ienumerator?

493


Explain briefly the difference between value type and reference type?

551


Explain about Oops concept

547


What is the difference between CONST and READONLY?

571


What is generic types in c#?

507


What is the difference between out and ref in c#?

481


What is difference between array and arraylist c#?

455


Define constructor in c#.

511


What is a collection in c#?

507