Click here to Skip to main content
15,905,776 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sending messages to a listbox's context menu. Pin
Septimus Hedgehog3-Jun-13 1:00
Septimus Hedgehog3-Jun-13 1:00 
GeneralRe: Sending messages to a listbox's context menu. Pin
DaveyM693-Jun-13 1:10
professionalDaveyM693-Jun-13 1:10 
GeneralRe: Sending messages to a listbox's context menu. Pin
Septimus Hedgehog3-Jun-13 1:54
Septimus Hedgehog3-Jun-13 1:54 
GeneralRe: Sending messages to a listbox's context menu. Pin
BobJanova3-Jun-13 4:06
BobJanova3-Jun-13 4:06 
GeneralRe: Sending messages to a listbox's context menu. Pin
Septimus Hedgehog3-Jun-13 5:53
Septimus Hedgehog3-Jun-13 5:53 
QuestionRun-time video editing Pin
yassine7072-Jun-13 14:55
yassine7072-Jun-13 14:55 
AnswerRe: Run-time video editing Pin
Richard MacCutchan2-Jun-13 20:51
mveRichard MacCutchan2-Jun-13 20:51 
QuestionHow to Open Cash Drawer Pin
Jassim Rahma2-Jun-13 10:26
Jassim Rahma2-Jun-13 10:26 
AnswerRe: How to Open Cash Drawer Pin
dusty_dex2-Jun-13 11:04
dusty_dex2-Jun-13 11:04 
GeneralRe: How to Open Cash Drawer Pin
Jassim Rahma2-Jun-13 11:17
Jassim Rahma2-Jun-13 11:17 
GeneralRe: How to Open Cash Drawer Pin
dusty_dex2-Jun-13 22:08
dusty_dex2-Jun-13 22:08 
AnswerRe: How to Open Cash Drawer Pin
dusty_dex3-Jun-13 2:02
dusty_dex3-Jun-13 2:02 
QuestionBinary Validation File Pin
Jassim Rahma2-Jun-13 10:25
Jassim Rahma2-Jun-13 10:25 
AnswerRe: Binary Validation File Pin
Mycroft Holmes2-Jun-13 11:53
professionalMycroft Holmes2-Jun-13 11:53 
AnswerRe: Binary Validation File Pin
BobJanova3-Jun-13 4:08
BobJanova3-Jun-13 4:08 
QuestionSocket Programming Pin
itprs2-Jun-13 4:58
itprs2-Jun-13 4:58 
AnswerRe: Socket Programming Pin
Dave Kreskowiak2-Jun-13 7:45
mveDave Kreskowiak2-Jun-13 7:45 
GeneralRe: Socket Programming Pin
Septimus Hedgehog3-Jun-13 2:01
Septimus Hedgehog3-Jun-13 2:01 
GeneralRe: Socket Programming Pin
Pete O'Hanlon3-Jun-13 2:27
mvePete O'Hanlon3-Jun-13 2:27 
GeneralRe: Socket Programming Pin
Septimus Hedgehog3-Jun-13 3:20
Septimus Hedgehog3-Jun-13 3:20 
AnswerRe: Socket Programming Pin
Septimus Hedgehog3-Jun-13 3:22
Septimus Hedgehog3-Jun-13 3:22 
QuestionC# Fill comboBox with DB content Pin
tizziCerutti2-Jun-13 1:45
tizziCerutti2-Jun-13 1:45 
I want to Bind two Columns and populate a ComboBox with it in C#..My code is printing just one. the FirstName. Have tried concatenating the LastName with it but its not working. Can anyone show me how to go about it. Here is my code. Thanks
OleDbCommand cmd = new OleDbCommand("SELECT * FROM ADb", myCon);
           OleDbDataAdapter d = new OleDbDataAdapter(cmd);
           d.SelectCommand.CommandText = cmd.CommandText.ToString();

           DataTable dt = new DataTable();
           d.Fill(dt);
           cmbNames.DataSource = dt;
           cmbNames.DisplayMember = "FirstName";

AnswerRe: C# Fill comboBox with DB content Pin
Boipelo2-Jun-13 2:20
Boipelo2-Jun-13 2:20 
AnswerRe: C# Fill comboBox with DB content Pin
Anna King3-Jun-13 2:47
professionalAnna King3-Jun-13 2:47 
AnswerRe: C# Fill comboBox with DB content Pin
BobJanova3-Jun-13 4:12
BobJanova3-Jun-13 4:12 

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.