Click here to Skip to main content
16,005,697 members
Home / Discussions / C#
   

C#

 
GeneralRe: Making function DragDrop to a treeNode Pin
Heath Stewart11-Oct-04 10:35
protectorHeath Stewart11-Oct-04 10:35 
Generalcomobox.SelectedValue Pin
webhay11-Oct-04 5:02
webhay11-Oct-04 5:02 
GeneralRe: comobox.SelectedValue Pin
Brett Slaski11-Oct-04 7:22
Brett Slaski11-Oct-04 7:22 
GeneralRe: comobox.SelectedValue Pin
webhay11-Oct-04 7:32
webhay11-Oct-04 7:32 
GeneralRe: comobox.SelectedValue Pin
Alex Korchemniy11-Oct-04 9:24
Alex Korchemniy11-Oct-04 9:24 
GeneralRe: comobox.SelectedValue Pin
Brett Slaski11-Oct-04 10:33
Brett Slaski11-Oct-04 10:33 
GeneralRe: comobox.SelectedValue Pin
webhay11-Oct-04 11:36
webhay11-Oct-04 11:36 
GeneralRe: comobox.SelectedValue Pin
Anonymous11-Oct-04 15:50
Anonymous11-Oct-04 15:50 
I assume that this is working ok? Or is it Returning the object name? If not, how are you filling the combobox, databind or by item? SelectedValue is only used with databinding, a ValueMemeber must be set.
webhay wrote:
label1.Text = cbo.SelectedValue.ToString();

The following will not work because it will return the object name.
webhay wrote:
cmd.CommandText = "Select * from Val Where Cat_ID = "+cbo.SelectedValue+"";
GeneralRe: comobox.SelectedValue Pin
webhay12-Oct-04 3:48
webhay12-Oct-04 3:48 
GeneralRe: comobox.SelectedValue Pin
Brett Slaski12-Oct-04 4:05
Brett Slaski12-Oct-04 4:05 
GeneralRe: comobox.SelectedValue Pin
webhay12-Oct-04 14:02
webhay12-Oct-04 14:02 
GeneralRe: comobox.SelectedValue Pin
webhay12-Oct-04 14:05
webhay12-Oct-04 14:05 
GeneralWriting TreeView Contents To XML Pin
enchantingdb11-Oct-04 3:15
enchantingdb11-Oct-04 3:15 
GeneralRe: Writing TreeView Contents To XML Pin
Alex Korchemniy11-Oct-04 9:17
Alex Korchemniy11-Oct-04 9:17 
Questionhow to swap two tree nodes?? Pin
khchan11-Oct-04 1:35
khchan11-Oct-04 1:35 
AnswerRe: how to swap two tree nodes?? Pin
J4amieC11-Oct-04 3:03
J4amieC11-Oct-04 3:03 
QuestionHow to make C# application run on win2000 and WinMe and Win98? Pin
momer11-Oct-04 1:23
momer11-Oct-04 1:23 
AnswerRe: How to make C# application run on win2000 and WinMe and Win98? Pin
Anonymous11-Oct-04 1:36
Anonymous11-Oct-04 1:36 
AnswerRe: How to make C# application run on win2000 and WinMe and Win98? Pin
J4amieC11-Oct-04 2:53
J4amieC11-Oct-04 2:53 
GeneralRe: How to make C# application run on win2000 and WinMe and Win98? Pin
Colin Angus Mackay11-Oct-04 3:12
Colin Angus Mackay11-Oct-04 3:12 
AnswerRe: How to make C# application run on win2000 and WinMe and Win98? Pin
Gary Thom11-Oct-04 3:04
Gary Thom11-Oct-04 3:04 
GeneralRe: How to make C# application run on win2000 and WinMe and Win98? Pin
Anonymous11-Oct-04 6:42
Anonymous11-Oct-04 6:42 
GeneralRe: How to make C# application run on win2000 and WinMe and Win98? Pin
Dave Kreskowiak11-Oct-04 7:50
mveDave Kreskowiak11-Oct-04 7:50 
GeneralRe: How to make C# application run on win2000 and WinMe and Win98? Pin
momer11-Oct-04 15:17
momer11-Oct-04 15:17 
Generalhelp tifaa memory problem Pin
tifa11-Oct-04 0:39
tifa11-Oct-04 0:39 

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.