Click here to Skip to main content
15,886,551 members
Home / Discussions / C#
   

C#

 
GeneralSingle TreeView , different content with different event handling (events) Pin
Chris Richner4-Jun-03 12:56
Chris Richner4-Jun-03 12:56 
GeneralBackground mode and GDI+ Pin
Patrick Lassalle4-Jun-03 12:06
Patrick Lassalle4-Jun-03 12:06 
Generalbyte[] to int32 conversion Pin
stonee744-Jun-03 11:43
stonee744-Jun-03 11:43 
GeneralRe: byte[] to int32 conversion Pin
dynamic4-Jun-03 12:49
dynamic4-Jun-03 12:49 
GeneralRe: byte[] to int32 conversion Pin
stonee744-Jun-03 21:24
stonee744-Jun-03 21:24 
GeneralRe: byte[] to int32 conversion Pin
Paresh Gheewala4-Jun-03 13:11
Paresh Gheewala4-Jun-03 13:11 
GeneralRe: byte[] to int32 conversion Pin
stonee744-Jun-03 22:05
stonee744-Jun-03 22:05 
GeneralSet SelectedValue in combobox Pin
haezeban4-Jun-03 9:10
haezeban4-Jun-03 9:10 
Hey,

I have a Windows form apllication with form1 and form2.

Form1 :
Combobox1 : bind to a dataset and have a displaymemeber
and valuemember.
Button1 : to go to form2 and also save the
combobox1.selectedvalue in a static variable string (ex.
val).

Form2 :
Combobox2 : bind to the same dataset, dislaymember and
valuemeber like combobox1 (When i checked it have the
same contents like combobox1).

But here I want to set the selectedvalue = val (the
selectedvalue of Form1.combobox1 saved in memory).

I'am sure that combobox2 have a selectedvalue=val.
But after combobox2.SelectedValue = val; The
selectedvalue of combobox2 stays null.

I don't know why.
Somebody knows the reason?

Set the selectedvalue of a combobox works fine, if i stay
on the same form, with the same combo. (So the combo is not constructed in the initialisecomponent again)

Nic

GeneralRe: Set SelectedValue in combobox Pin
haezeban4-Jun-03 11:07
haezeban4-Jun-03 11:07 
GeneralAccess Assemby in Console App Pin
haezeban4-Jun-03 9:07
haezeban4-Jun-03 9:07 
Generalremoving file lock Pin
grv5754-Jun-03 8:57
grv5754-Jun-03 8:57 
GeneralCombo Boxes in Windows Forms (Data Binding) Pin
codycaillet4-Jun-03 8:21
codycaillet4-Jun-03 8:21 
GeneralRe: Combo Boxes in Windows Forms (Data Binding) Pin
A.Wegierski4-Jun-03 20:29
A.Wegierski4-Jun-03 20:29 
GeneralRe: Combo Boxes in Windows Forms (Data Binding) Pin
DIPAK@EMSYS19-Aug-09 0:30
DIPAK@EMSYS19-Aug-09 0:30 
GeneralProblems (re)installing DirectX SDK - please help! Pin
dratti4-Jun-03 7:16
dratti4-Jun-03 7:16 
GeneralRe: Problems (re)installing DirectX SDK - please help! Pin
dratti4-Jun-03 15:56
dratti4-Jun-03 15:56 
GeneralHungarian Notation Pin
Kant4-Jun-03 6:13
Kant4-Jun-03 6:13 
GeneralRe: Hungarian Notation Pin
Rick York4-Jun-03 6:20
mveRick York4-Jun-03 6:20 
GeneralRe: Hungarian Notation Pin
Ranjan Banerji4-Jun-03 6:33
Ranjan Banerji4-Jun-03 6:33 
GeneralRe: Clickety Pin
Kant4-Jun-03 6:51
Kant4-Jun-03 6:51 
GeneralRe: Clickety Pin
Ranjan Banerji4-Jun-03 6:54
Ranjan Banerji4-Jun-03 6:54 
GeneralRe: Clickety Pin
J. Dunlap4-Jun-03 7:44
J. Dunlap4-Jun-03 7:44 
GeneralRe: Clickety Pin
Kant4-Jun-03 7:45
Kant4-Jun-03 7:45 
QuestionShowing messages when no user logged on? Pin
tyzh4-Jun-03 4:15
tyzh4-Jun-03 4:15 
GeneralConverting a pointer to a C# type Pin
Jason Henderson4-Jun-03 4:14
Jason Henderson4-Jun-03 4:14 

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.