Click here to Skip to main content
15,914,488 members
Home / Discussions / C#
   

C#

 
Questiondoubt about listbox Pin
ffrr17-Feb-06 4:24
ffrr17-Feb-06 4:24 
Questionevent handler problem (a lv created in usercontrol and displayed in a child form) Pin
nycadr17-Feb-06 3:51
nycadr17-Feb-06 3:51 
AnswerRe: event handler problem (a lv created in usercontrol and displayed in a child form) Pin
J4amieC17-Feb-06 4:03
J4amieC17-Feb-06 4:03 
Questionevent handler problem (a listview created in a usercontrol and displayed in a child form) Pin
nycadr17-Feb-06 3:49
nycadr17-Feb-06 3:49 
Questionevent handler problem (a listview created in usercontrol and displayed in a child form ) Pin
nycadr17-Feb-06 3:47
nycadr17-Feb-06 3:47 
QuestionUse of oRTP in C#.Net Pin
Divyang Mithaiwala17-Feb-06 3:39
Divyang Mithaiwala17-Feb-06 3:39 
AnswerRe: Use of oRTP in C#.Net Pin
Judah Gabriel Himango17-Feb-06 4:48
sponsorJudah Gabriel Himango17-Feb-06 4:48 
QuestionClearing a data binded image Pin
Chals17-Feb-06 2:49
Chals17-Feb-06 2:49 
Hi!

I have a user control with a PictureBox control. This picturebox's image is data binded to a binary field in the database. When I set the image, it works fine: image is saved in the DB and everythings fine.

Now, when I want to CLEAR the image, I do the following:

this.picImage.Image.Dispose();
this.picImage.Image = null;

and...nothing happens. The next time I open the form, the image is still there. The binding is correct because if I change the bitmap, it is saved properly. It seems to be ignoring the null value Im trying to persist in the database.

I'm using Visual Studio 2005 and SQL Server 2005.

Help! Thanks in advance Smile | :)
GeneralC# asp.net Pin
Jijo BP17-Feb-06 2:40
Jijo BP17-Feb-06 2:40 
GeneralRe: C# asp.net Pin
toxcct17-Feb-06 2:44
toxcct17-Feb-06 2:44 
GeneralRe: C# asp.net Pin
benjymous17-Feb-06 2:46
benjymous17-Feb-06 2:46 
JokeRe: C# asp.net Pin
Nish Nishant17-Feb-06 2:47
sitebuilderNish Nishant17-Feb-06 2:47 
GeneralRe: C# asp.net Pin
Le centriste17-Feb-06 2:50
Le centriste17-Feb-06 2:50 
GeneralRe: C# asp.net Pin
Ray Kinsella17-Feb-06 2:51
Ray Kinsella17-Feb-06 2:51 
GeneralRe: C# asp.net Pin
Daniel Turini17-Feb-06 2:55
Daniel Turini17-Feb-06 2:55 
GeneralRe: C# asp.net Pin
benjymous17-Feb-06 3:01
benjymous17-Feb-06 3:01 
GeneralRe: C# asp.net Pin
Ryan Roberts17-Feb-06 3:05
Ryan Roberts17-Feb-06 3:05 
JokeRe: C# asp.net Pin
CWIZO17-Feb-06 3:47
CWIZO17-Feb-06 3:47 
GeneralRe: C# asp.net Pin
redfish3417-Feb-06 4:53
redfish3417-Feb-06 4:53 
GeneralRe: C# asp.net Pin
Dave Kreskowiak17-Feb-06 5:25
mveDave Kreskowiak17-Feb-06 5:25 
GeneralRe: C# asp.net Pin
benjymous17-Feb-06 5:39
benjymous17-Feb-06 5:39 
GeneralRe: C# asp.net Pin
Dave Kreskowiak17-Feb-06 10:18
mveDave Kreskowiak17-Feb-06 10:18 
Questionthreading in a simple app Pin
ilikegermangirls17-Feb-06 1:51
ilikegermangirls17-Feb-06 1:51 
AnswerRe: threading in a simple app Pin
Curtis Schlak.17-Feb-06 13:56
Curtis Schlak.17-Feb-06 13:56 
AnswerRe: threading in a simple app Pin
ilikegermangirls18-Feb-06 1:45
ilikegermangirls18-Feb-06 1:45 

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.