Click here to Skip to main content
15,918,041 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWhere to set language and culture Pin
Priya Prk15-Apr-12 9:18
Priya Prk15-Apr-12 9:18 
AnswerRe: Where to set language and culture Pin
Bernhard Hiller15-Apr-12 21:51
Bernhard Hiller15-Apr-12 21:51 
AnswerRe: Where to set language and culture Pin
Vipin_Arora16-Apr-12 20:09
Vipin_Arora16-Apr-12 20:09 
AnswerRe: Where to set language and culture Pin
Grace Daniel16-Apr-12 23:51
Grace Daniel16-Apr-12 23:51 
AnswerRe: Where to set language and culture Pin
mitnick5625-Apr-12 3:51
mitnick5625-Apr-12 3:51 
QuestionJSON and C# Pin
xy000114-Apr-12 20:49
xy000114-Apr-12 20:49 
AnswerRe: JSON and C# Pin
Ali Al Omairi(Abu AlHassan)15-Apr-12 2:14
professionalAli Al Omairi(Abu AlHassan)15-Apr-12 2:14 
Questionretrieving blob data(image) and display in a picture box Pin
amSherihan13-Apr-12 23:24
amSherihan13-Apr-12 23:24 
my project is based on
asp.net (.net framework 3.5)
language C#
database mysql
the table contains around 50 records of teachers where two field hold blob datatype to store images of teachers(passport size)and signature. I could store the images by the following code
HttpPostedFile postedFile = fluTeacherImage.PostedFile;
Stream stream = postedFile.InputStream;
BinaryReader bReader = new BinaryReader(stream);
byte[] bytesImage = bReader.ReadBytes((int)stream.Length);


it stores the image in the database fine. to that i called my database access class's method. i cant post it here because its too long.
I am using mysql connector 6.4.4
.0


my next task is to retrieve the image from the database and display in a picture box in a webpage which shows the completed profile of a teacher.note that i am just storing the image as blob (not storing its size). I need to get the blob from the db and convert it to byte array or something to display it in the picture box.

please help me as soon ass possible because I couldn't find a suitable code relevant to this
thank you
AnswerRe: retrieving blob data(image) and display in a picture box Pin
Ali Al Omairi(Abu AlHassan)14-Apr-12 4:11
professionalAli Al Omairi(Abu AlHassan)14-Apr-12 4:11 
Questionhow to handle error Pin
Member 868940013-Apr-12 8:35
Member 868940013-Apr-12 8:35 
AnswerRe: how to handle error Pin
Not Active13-Apr-12 9:15
mentorNot Active13-Apr-12 9:15 
AnswerRe: how to handle error Pin
jkirkerx13-Apr-12 10:06
professionaljkirkerx13-Apr-12 10:06 
QuestionProblem with Forms Authentication Provider Pin
Flum02113-Apr-12 7:39
Flum02113-Apr-12 7:39 
AnswerRe: Problem with Forms Authentication Provider Pin
Leonardo Metelis13-Apr-12 9:02
Leonardo Metelis13-Apr-12 9:02 
GeneralRe: Problem with Forms Authentication Provider Pin
Flum02113-Apr-12 23:50
Flum02113-Apr-12 23:50 
QuestionCalling public from Public Shared method Pin
byka13-Apr-12 4:21
byka13-Apr-12 4:21 
AnswerRe: Calling public from Public Shared method Pin
ekolis13-Apr-12 4:58
ekolis13-Apr-12 4:58 
GeneralRe: Calling public from Public Shared method Pin
byka13-Apr-12 5:12
byka13-Apr-12 5:12 
GeneralRe: Calling public from Public Shared method Pin
ekolis13-Apr-12 6:27
ekolis13-Apr-12 6:27 
Questionhow to add soap headers to the xml generated from webservice using c#.net 4.0 Pin
anandsurya13-Apr-12 3:38
anandsurya13-Apr-12 3:38 
AnswerRe: how to add soap headers to the xml generated from webservice using c#.net 4.0 Pin
jkirkerx13-Apr-12 12:49
professionaljkirkerx13-Apr-12 12:49 
QuestionReport Viewer Align Problem Pin
jasmin.sayyad13-Apr-12 0:36
jasmin.sayyad13-Apr-12 0:36 
AnswerRe: Report Viewer Align Problem Pin
ZurdoDev13-Apr-12 5:51
professionalZurdoDev13-Apr-12 5:51 
QuestionASP.Net Data Grid View Pin
fire_hawk12-Apr-12 22:57
fire_hawk12-Apr-12 22:57 
AnswerRe: ASP.Net Data Grid View Pin
SaurabhSavaliya13-Apr-12 0:00
SaurabhSavaliya13-Apr-12 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.