Click here to Skip to main content
15,909,591 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: C# Fill comboBox with DB content Pin
tizziCerutti10-Jun-13 21:55
tizziCerutti10-Jun-13 21:55 
AnswerRe: C# Fill comboBox with DB content Pin
Amol_B4-Jun-13 19:41
professionalAmol_B4-Jun-13 19:41 
Question[Solved] Binding to data that will be resloved asyncronously Pin
AlphaDeltaTheta1-Jun-13 3:18
AlphaDeltaTheta1-Jun-13 3:18 
AnswerRe: Binding to data that will be resloved asyncronously Pin
Abhinav S1-Jun-13 7:35
Abhinav S1-Jun-13 7:35 
GeneralRe: Binding to data that will be resloved asyncronously Pin
AlphaDeltaTheta1-Jun-13 15:22
AlphaDeltaTheta1-Jun-13 15:22 
AnswerRe: Binding to data that will be resloved asyncronously Pin
Anna King3-Jun-13 2:55
professionalAnna King3-Jun-13 2:55 
AnswerRe: Binding to data that will be resloved asyncronously Pin
BobJanova3-Jun-13 4:14
BobJanova3-Jun-13 4:14 

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.