Click here to Skip to main content
15,916,941 members
Home / Discussions / C#
   

C#

 
AnswerRe: how i distinguish scan or keyboard value ? in windows ce ?? Pin
jschell20-Nov-17 6:30
jschell20-Nov-17 6:30 
GeneralNullable reference types in C# Pin
jschell17-Nov-17 10:38
jschell17-Nov-17 10:38 
GeneralRe: Nullable reference types in C# Pin
Eddy Vluggen18-Nov-17 0:54
professionalEddy Vluggen18-Nov-17 0:54 
GeneralRe: Nullable reference types in C# Pin
jschell20-Nov-17 6:10
jschell20-Nov-17 6:10 
GeneralRe: Nullable reference types in C# Pin
Eddy Vluggen20-Nov-17 6:23
professionalEddy Vluggen20-Nov-17 6:23 
GeneralRe: Nullable reference types in C# Pin
jschell20-Nov-17 6:36
jschell20-Nov-17 6:36 
GeneralRe: Nullable reference types in C# Pin
Eddy Vluggen20-Nov-17 6:37
professionalEddy Vluggen20-Nov-17 6:37 
QuestionC# and SQL application help Pin
Member 1352717817-Nov-17 6:35
Member 1352717817-Nov-17 6:35 
GeneralRe: C# and SQL application help Pin
Sascha Lefèvre17-Nov-17 7:07
professionalSascha Lefèvre17-Nov-17 7:07 
AnswerRe: C# and SQL application help Pin
OriginalGriff17-Nov-17 8:07
mveOriginalGriff17-Nov-17 8:07 
QuestionRe: C# and SQL application help Pin
Member 1352717817-Nov-17 11:13
Member 1352717817-Nov-17 11:13 
AnswerRe: C# and SQL application help Pin
OriginalGriff17-Nov-17 23:13
mveOriginalGriff17-Nov-17 23:13 
QuestionHow to put two columns in a combo box Pin
Member 1227854217-Nov-17 0:20
Member 1227854217-Nov-17 0:20 
AnswerRe: How to put two columns in a combo box Pin
Eddy Vluggen17-Nov-17 0:46
professionalEddy Vluggen17-Nov-17 0:46 
GeneralRe: How to put two columns in a combo box Pin
Member 1227854220-Feb-18 1:17
Member 1227854220-Feb-18 1:17 
AnswerRe: How to put two columns in a combo box Pin
Karthik_Mahalingam17-Nov-17 0:59
professionalKarthik_Mahalingam17-Nov-17 0:59 
your select query doesnt contans "title" but you have mapped the title to value member

the below lines repeating twice, however the compiler will takes only the latest assigned values
comboBox1.DisplayMember = "idkonto";
comboBox1.ValueMember = "idkonto";

comboBox1.DisplayMember = "title";
comboBox1.ValueMember = "title";


try concatenating the two columns in the select query as
string wnadidok = "SELECT idkonto + ' ' + title as combinedCol , title FROM [account name]"; // take care of this

and change the DisplayMember and ValueMember as
comboBox1.DisplayMember = "combinedCol";
comboBox1.ValueMember = "title";

GeneralRe: How to put two columns in a combo box Pin
Member 1227854220-Feb-18 1:09
Member 1227854220-Feb-18 1:09 
GeneralRe: How to put two columns in a combo box Pin
Karthik_Mahalingam20-Feb-18 1:11
professionalKarthik_Mahalingam20-Feb-18 1:11 
QuestionActive Directory Questions Pin
Kevin Marois16-Nov-17 7:58
professionalKevin Marois16-Nov-17 7:58 
AnswerRe: Active Directory Questions Pin
Richard Deeming16-Nov-17 9:50
mveRichard Deeming16-Nov-17 9:50 
GeneralRe: Active Directory Questions Pin
Kevin Marois16-Nov-17 10:01
professionalKevin Marois16-Nov-17 10:01 
GeneralRe: Active Directory Questions Pin
Kevin Marois16-Nov-17 10:49
professionalKevin Marois16-Nov-17 10:49 
GeneralRe: Active Directory Questions Pin
Mycroft Holmes16-Nov-17 11:36
professionalMycroft Holmes16-Nov-17 11:36 
AnswerRe: Active Directory Questions Pin
BillWoodruff16-Nov-17 20:44
professionalBillWoodruff16-Nov-17 20:44 
GeneralRe: Active Directory Questions Pin
Richard MacCutchan16-Nov-17 22:54
mveRichard MacCutchan16-Nov-17 22:54 

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.