Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
QuestionC# code for ASP.NET connection to mySQL on a Linux Server Pin
LuckySmoke12-Mar-07 4:00
LuckySmoke12-Mar-07 4:00 
AnswerRe: C# code for ASP.NET connection to mySQL on a Linux Server Pin
Ennis Ray Lynch, Jr.12-Mar-07 4:23
Ennis Ray Lynch, Jr.12-Mar-07 4:23 
GeneralRe: C# code for ASP.NET connection to mySQL on a Linux Server Pin
LuckySmoke12-Mar-07 4:36
LuckySmoke12-Mar-07 4:36 
QuestionTime format in control numeric up/down in c# Pin
hiremath7112-Mar-07 3:45
hiremath7112-Mar-07 3:45 
AnswerRe: Time format in control numeric up/down in c# Pin
Scott Dorman12-Mar-07 3:49
professionalScott Dorman12-Mar-07 3:49 
GeneralRe: Time format in control numeric up/down in c# Pin
hiremath7112-Mar-07 22:49
hiremath7112-Mar-07 22:49 
GeneralRe: Time format in control numeric up/down in c# Pin
Scott Dorman17-Mar-07 4:00
professionalScott Dorman17-Mar-07 4:00 
QuestionHelp! Image in Listview appear unexpected! Pin
chinajuanbob12-Mar-07 3:35
chinajuanbob12-Mar-07 3:35 
I got a Bitmap from Icon and save it to a Stream with PNG format
bmp.Save(stream, ImageFormat.Png);
and then I read bytes from the Stream and save bytes to database.

When I read bytes from database and write it to a Stream and create a Image,
if I set the Image to a PictrueBox
pictureBox.Image = MyImage;
it appear correct;

but if I set it to a ImageList and Show in a Listview item
imageList.Images.Add(MyImage)
ListViewItem item1 = new ListViewItem();
item1.ImageIndex = j;//j is the indexnumber of MyImage.
it appear unexpected, just like some blue spots around the pictrue.

What's wrong?
Excuse me for my poor English but i'am really worried about it.
I will put picture comparison on my project website soon.
Please help me,Thx~
http://chinajuanbob.googlepages.com/[^]

http://chinajuanbob.googlepages.com/

http://chinajuanbob.spaces.live.com/

AnswerRe: Help! Image in Listview appear unexpected! Pin
Judah Gabriel Himango12-Mar-07 4:02
sponsorJudah Gabriel Himango12-Mar-07 4:02 
GeneralRe: Help! Image in Listview appear unexpected! [modified] Pin
chinajuanbob12-Mar-07 15:57
chinajuanbob12-Mar-07 15:57 
QuestionChange control Pin
Tanuja12312-Mar-07 3:31
Tanuja12312-Mar-07 3:31 
QuestionC# active X Pin
Justin Hallet12-Mar-07 2:16
Justin Hallet12-Mar-07 2:16 
QuestionUrgent:Programatically running scripts Pin
Lukas2212-Mar-07 3:13
Lukas2212-Mar-07 3:13 
AnswerRe: Urgent:Programatically running scripts Pin
Judah Gabriel Himango12-Mar-07 5:40
sponsorJudah Gabriel Himango12-Mar-07 5:40 
GeneralRe: Urgent:Programatically running scripts Pin
Lukas2212-Mar-07 7:23
Lukas2212-Mar-07 7:23 
GeneralRe: Urgent:Programatically running scripts Pin
Judah Gabriel Himango12-Mar-07 10:15
sponsorJudah Gabriel Himango12-Mar-07 10:15 
QuestionUpdating order of DataTables Pin
Satish3212-Mar-07 3:12
Satish3212-Mar-07 3:12 
QuestionPicturebox tooltips Pin
Gareth H12-Mar-07 2:49
Gareth H12-Mar-07 2:49 
AnswerRe: Picturebox tooltips Pin
Judah Gabriel Himango12-Mar-07 5:43
sponsorJudah Gabriel Himango12-Mar-07 5:43 
GeneralRe: Picturebox tooltips Pin
Gareth H12-Mar-07 6:47
Gareth H12-Mar-07 6:47 
GeneralRe: Picturebox tooltips Pin
M-Hall12-Mar-07 7:19
M-Hall12-Mar-07 7:19 
GeneralRe: Picturebox tooltips Pin
Gareth H13-Mar-07 0:26
Gareth H13-Mar-07 0:26 
QuestionSession variable problem Pin
Icarus12312-Mar-07 2:36
Icarus12312-Mar-07 2:36 
AnswerRe: Session variable problem Pin
Sylvester george12-Mar-07 3:34
Sylvester george12-Mar-07 3:34 
QuestionEliminate Column Headers as RowCount in DataGridView Pin
SakthiSurya12-Mar-07 2:28
SakthiSurya12-Mar-07 2:28 

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.