Click here to Skip to main content
15,888,069 members
Home / Discussions / C#
   

C#

 
GeneralRe: ODBC Problem Pin
telconstar997-Nov-05 5:30
telconstar997-Nov-05 5:30 
GeneralRe: ODBC Problem Pin
Corinna John7-Nov-05 5:47
Corinna John7-Nov-05 5:47 
Questionhow to create iso image in c#? Pin
hdv2126-Nov-05 10:34
hdv2126-Nov-05 10:34 
AnswerRe: how to create iso image in c#? Pin
g00fyman6-Nov-05 13:49
g00fyman6-Nov-05 13:49 
GeneralRe: how to create iso image in c#? Pin
lmoelleb6-Nov-05 21:14
lmoelleb6-Nov-05 21:14 
QuestionHelp on file processing Pin
Tugbay Sahin6-Nov-05 9:55
Tugbay Sahin6-Nov-05 9:55 
GeneralRe: Help on file processing Pin
Guffa6-Nov-05 12:34
Guffa6-Nov-05 12:34 
QuestionComboBox - set value Pin
Jens19726-Nov-05 9:31
Jens19726-Nov-05 9:31 
Hi

I have trouble in setting the displaymember in a dataset-binded combobox.

My Code:

this.cselectName.DataSource = this.selectExpensePropertiesDataSet1.cPerson;
this.cselectName.DisplayMember = "LastName";
this.cselectName.Location = new System.Drawing.Point(368, 16);
this.cselectName.Name = "cselectName";
this.cselectName.Size = new System.Drawing.Size(144, 21);
this.cselectName.TabIndex = 6;
this.cselectName.Tag = "";
this.cselectName.ValueMember = "pID";

I tried to set a DisplayMember as default value selected using the following code:

cselectType.SelectedIndex = cselectType.FindStringExact("Miete");

Hasn't worked.

Any ideas?

Thanks in advance.

Jens

-- modified at 15:38 Sunday 6th November, 2005
Questionhow to get serial number of cd in c# ? Pin
hdv2126-Nov-05 8:53
hdv2126-Nov-05 8:53 
QuestionProblem in recalling value with array Pin
PearHK6-Nov-05 8:52
PearHK6-Nov-05 8:52 
AnswerRe: Problem in recalling value with array Pin
Christian Graus6-Nov-05 11:58
protectorChristian Graus6-Nov-05 11:58 
QuestionLabel doesn´t show up on form Pin
naglbitur6-Nov-05 8:35
naglbitur6-Nov-05 8:35 
AnswerRe: Label doesn´t show up on form Pin
Christian Graus6-Nov-05 11:59
protectorChristian Graus6-Nov-05 11:59 
QuestionSpeed up? Pin
Lju26-Nov-05 8:05
Lju26-Nov-05 8:05 
QuestionCom+ Problem Pin
webhay6-Nov-05 4:15
webhay6-Nov-05 4:15 
AnswerRe: Com+ Problem Pin
Heath Stewart6-Nov-05 6:21
protectorHeath Stewart6-Nov-05 6:21 
QuestionCom+ Problem Pin
webhay6-Nov-05 4:12
webhay6-Nov-05 4:12 
QuestionCom+ Problem Pin
webhay6-Nov-05 4:12
webhay6-Nov-05 4:12 
QuestionC# TreeView and Outlook Folders Pin
_Goose6-Nov-05 3:57
_Goose6-Nov-05 3:57 
AnswerRe: C# TreeView and Outlook Folders Pin
_Goose6-Nov-05 4:19
_Goose6-Nov-05 4:19 
QuestionTransparent Custom Controls Pin
Johnny Hooyberghs6-Nov-05 2:30
Johnny Hooyberghs6-Nov-05 2:30 
AnswerRe: Transparent Custom Controls Pin
IdUnknown6-Nov-05 3:54
IdUnknown6-Nov-05 3:54 
GeneralRe: Transparent Custom Controls Pin
Johnny Hooyberghs6-Nov-05 4:33
Johnny Hooyberghs6-Nov-05 4:33 
QuestionCustom Controls Pin
XeoN-Kc6-Nov-05 1:53
XeoN-Kc6-Nov-05 1:53 
AnswerRe: Custom Controls Pin
Johnny Hooyberghs6-Nov-05 2:28
Johnny Hooyberghs6-Nov-05 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.