Click here to Skip to main content
15,879,096 members
Home / Discussions / C#
   

C#

 
QuestionHow to pass a groupbox from a class to other class Pin
TALHAKOSEN23-Oct-08 3:15
TALHAKOSEN23-Oct-08 3:15 
AnswerRe: How to pass a groupbox from a class to other class Pin
Tom Deketelaere23-Oct-08 3:28
professionalTom Deketelaere23-Oct-08 3:28 
GeneralRe: How to pass a groupbox from a class to other class Pin
TALHAKOSEN23-Oct-08 19:43
TALHAKOSEN23-Oct-08 19:43 
QuestionUploading a file to an FTP server using C# Pin
srinivaskonijeti23-Oct-08 3:10
srinivaskonijeti23-Oct-08 3:10 
QuestionRe: Uploading a file to an FTP server using C# Pin
josephbhaskar23-Oct-08 3:54
josephbhaskar23-Oct-08 3:54 
QuestionPersonlisation and Shared View Pin
Adeel Shahid23-Oct-08 3:02
Adeel Shahid23-Oct-08 3:02 
NewsC#/CLR-based Stored Procedures in SQL Server 2005 (in the SQL Forum) Pin
James R. Twine23-Oct-08 2:36
James R. Twine23-Oct-08 2:36 
QuestionHow to get SelectedValue from Text ,,, Combobox ? Pin
kindman_nb23-Oct-08 2:31
kindman_nb23-Oct-08 2:31 
Hay ..
I have a table for eg , emp with the next data :

ID Name
1 AA
2 BB
3 CC

I fill the combo box as the next :
<br />
combobox.ValueMember=ID;<br />
combobox.DisplayMember = Name;


the user see Name but the application save ID in the database .

then when I navigate records , sure the combobox dispaly the ID which is saved on database ,,

I tried to do that :
combobox.SelectedValue = combobox.Text;

but it didn't give me the required result..

I want to view the Value (Name field) instead of text (ID field)

thanks

jooooo

QuestionConvert it to Windows Service Pin
Vimalsoft(Pty) Ltd23-Oct-08 2:21
professionalVimalsoft(Pty) Ltd23-Oct-08 2:21 
AnswerRe: Convert it to Windows Service Pin
Simon P Stevens23-Oct-08 2:39
Simon P Stevens23-Oct-08 2:39 
AnswerRe: Convert it to Windows Service Pin
Mark Salsbery23-Oct-08 4:36
Mark Salsbery23-Oct-08 4:36 
Question"inhereting" a struct? Pin
Vodstok23-Oct-08 2:16
Vodstok23-Oct-08 2:16 
AnswerRe: "inhereting" a struct? [modified] Pin
DaveyM6923-Oct-08 2:22
professionalDaveyM6923-Oct-08 2:22 
GeneralRe: "inhereting" a struct? Pin
Vodstok23-Oct-08 3:29
Vodstok23-Oct-08 3:29 
GeneralRe: "inhereting" a struct? Pin
DaveyM6923-Oct-08 4:04
professionalDaveyM6923-Oct-08 4:04 
AnswerRe: "inhereting" a struct? Pin
Guffa23-Oct-08 2:30
Guffa23-Oct-08 2:30 
AnswerRe: "inhereting" a struct? Pin
#realJSOP23-Oct-08 4:32
mve#realJSOP23-Oct-08 4:32 
GeneralRe: "inhereting" a struct? Pin
Vodstok23-Oct-08 4:43
Vodstok23-Oct-08 4:43 
QuestionRichTextBox RightClick [modified] Pin
V.23-Oct-08 2:10
professionalV.23-Oct-08 2:10 
AnswerRe: RichTextBox RightClick Pin
JoeSharp23-Oct-08 4:22
JoeSharp23-Oct-08 4:22 
QuestionUnbound RadioButtonList Selected Item Problem Pin
amit201123-Oct-08 1:59
amit201123-Oct-08 1:59 
QuestionHelp me in exception handaling Pin
Shantonu23-Oct-08 1:38
Shantonu23-Oct-08 1:38 
QuestionRe: Help me in exception handaling Pin
Eddy Vluggen23-Oct-08 2:02
professionalEddy Vluggen23-Oct-08 2:02 
AnswerRe: Help me in exception handaling Pin
josephbhaskar23-Oct-08 3:39
josephbhaskar23-Oct-08 3:39 
Questionsoundx coding Pin
Preeti197923-Oct-08 1:36
Preeti197923-Oct-08 1:36 

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.