Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
GeneralRe: functions with override and new keywords .... Pin
turbochimp24-Feb-05 13:17
turbochimp24-Feb-05 13:17 
GeneralNewline in a TextBox Pin
pjholliday23-Feb-05 4:41
pjholliday23-Feb-05 4:41 
GeneralRe: Newline in a TextBox Pin
Sebastian Schneider23-Feb-05 4:58
Sebastian Schneider23-Feb-05 4:58 
GeneralRe: Newline in a TextBox Pin
Dave Kreskowiak23-Feb-05 5:29
mveDave Kreskowiak23-Feb-05 5:29 
GeneralRelease an object memory Pin
Sasuko23-Feb-05 4:27
Sasuko23-Feb-05 4:27 
GeneralRe: Release an object memory Pin
PaleyX23-Feb-05 5:09
PaleyX23-Feb-05 5:09 
GeneralRe: Release an object memory Pin
Dave Kreskowiak23-Feb-05 5:27
mveDave Kreskowiak23-Feb-05 5:27 
Generaldisplay a pic from the database Pin
Ahmed Galal23-Feb-05 4:05
Ahmed Galal23-Feb-05 4:05 
am developing an application that uploads an image to the database and other users can view this pic, uploading is ok, but the problem in displaying the pic from the database, heres my code.
image = (byte[])this.mData.Tables[0].Rows[x]["Image"];

System.IO.MemoryStream memStream = new System.IO.MemoryStrea(image);

System.Drawing.Image Img = System.Drawing.Image.FromStream(memStream);

the data type of the column "Image" in the database is "image"
everytime i run the code i get Argument Exception "Invalid parameter used." on the line
System.Drawing.Image Img = System.Drawing.Image.FromStream(memStream);<br />

i look everywhere on the net but they r using the same way i think, i dunno where the problem is.
any help ?
thanx
GeneralRe: display a pic from the database Pin
Sasuko23-Feb-05 4:31
Sasuko23-Feb-05 4:31 
GeneralRe: display a pic from the database Pin
Ahmed Galal23-Feb-05 6:54
Ahmed Galal23-Feb-05 6:54 
GeneralRe: display a pic from the database Pin
Ahmed Galal23-Feb-05 7:24
Ahmed Galal23-Feb-05 7:24 
GeneralSharing a Udp Port Pin
Zishan Haider23-Feb-05 4:02
Zishan Haider23-Feb-05 4:02 
GeneralRe: Sharing a Udp Port [EDITED] Pin
Dave Kreskowiak23-Feb-05 5:06
mveDave Kreskowiak23-Feb-05 5:06 
Generalcombobox and SelectedIndexChanged in 2.0 Pin
hartree23-Feb-05 1:46
hartree23-Feb-05 1:46 
GeneralPlease Helllllllllllllppppppp me :sigh: Pin
ahmed Za3roor23-Feb-05 1:35
ahmed Za3roor23-Feb-05 1:35 
GeneralRe: Please Helllllllllllllppppppp me :sigh: Pin
J4amieC23-Feb-05 2:04
J4amieC23-Feb-05 2:04 
Generalhtml or xml control/editbox (urgent) Pin
saima azeemi22-Feb-05 23:28
saima azeemi22-Feb-05 23:28 
GeneralRe: html or xml control/editbox (urgent) Pin
Rei Miyasaka23-Feb-05 0:40
Rei Miyasaka23-Feb-05 0:40 
GeneralRe: html or xml control/editbox (urgent) Pin
saima azeemi23-Feb-05 1:23
saima azeemi23-Feb-05 1:23 
GeneralRe: html or xml control/editbox (urgent) Pin
Philip Fitzsimons23-Feb-05 6:35
Philip Fitzsimons23-Feb-05 6:35 
GeneralDeleting MSI files - Urgent Help Pin
Venkat Eswaran22-Feb-05 23:04
Venkat Eswaran22-Feb-05 23:04 
GeneralRe: Deleting MSI files - Urgent Help Pin
mav.northwind23-Feb-05 0:46
mav.northwind23-Feb-05 0:46 
Generalgray tabs in a TabControl Pin
Aviv Halperin22-Feb-05 22:48
Aviv Halperin22-Feb-05 22:48 
QuestionPort 25!!!!????? Pin
students552 university22-Feb-05 22:24
students552 university22-Feb-05 22:24 
AnswerRe: Port 25!!!!????? Pin
mav.northwind23-Feb-05 0:32
mav.northwind23-Feb-05 0:32 

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.