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

C#

 
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 
GeneralRe: Active Directory Questions Pin
Kevin Marois17-Nov-17 4:39
professionalKevin Marois17-Nov-17 4:39 
AnswerRe: Active Directory Questions Pin
Nathan Minier17-Nov-17 1:36
professionalNathan Minier17-Nov-17 1:36 
Generalsession Pin
Ishi Kaushik16-Nov-17 7:04
Ishi Kaushik16-Nov-17 7:04 
AnswerRe: Hello , I am working on three tier architecture based project, i am stuck in writting session code. so please tell me how and where i can write the session code Pin
OriginalGriff16-Nov-17 8:03
mveOriginalGriff16-Nov-17 8:03 
QuestionData type mismatch in criteria expression." in c# Pin
sai.201216-Nov-17 5:54
sai.201216-Nov-17 5:54 
AnswerRe: Data type mismatch in criteria expression." in c# Pin
Gerry Schmitz16-Nov-17 6:35
mveGerry Schmitz16-Nov-17 6:35 
AnswerRe: Data type mismatch in criteria expression." in c# Pin
Eddy Vluggen16-Nov-17 7:07
professionalEddy Vluggen16-Nov-17 7:07 
PraiseRe: Data type mismatch in criteria expression." in c# Pin
sai.201216-Nov-17 9:56
sai.201216-Nov-17 9:56 

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.