Click here to Skip to main content
15,889,595 members
Home / Discussions / C#
   

C#

 
Generalc# Pin
akshatak18-Mar-10 5:46
akshatak18-Mar-10 5:46 
GeneralRe: c# Pin
Keith Barrow18-Mar-10 6:52
professionalKeith Barrow18-Mar-10 6:52 
QuestionWindows NT service to Web Service conversion Pin
prakk8818-Mar-10 5:43
prakk8818-Mar-10 5:43 
AnswerRe: Windows NT service to Web Service conversion Pin
Dave Kreskowiak18-Mar-10 8:55
mveDave Kreskowiak18-Mar-10 8:55 
GeneralRe: Windows NT service to Web Service conversion Pin
prakk8819-Mar-10 4:56
prakk8819-Mar-10 4:56 
GeneralRe: Windows NT service to Web Service conversion Pin
Dave Kreskowiak19-Mar-10 12:32
mveDave Kreskowiak19-Mar-10 12:32 
GeneralRe: Windows NT service to Web Service conversion Pin
prakk8820-Mar-10 4:36
prakk8820-Mar-10 4:36 
QuestionEntity Framework ComboBox issue !! Pin
Minimech18-Mar-10 5:07
Minimech18-Mar-10 5:07 
Hello all and let me explain my problem briefly in Windows Forms application.

If any of you read Julia Lerman`s book, i am basicly implementing the techniques that are explained there but one thing i couldn`t solve. To make it simple i have two tables with one to many relationship, like customer and address. I add the customer to the datasource and change the address navigation property to combobox.

I drag name, surname and adress to the Forms. This is how i do databinding

CustomerEntities context = new CustomerEntities();
List<adress> myadresses = context.addresses.ToList();

CustomerBindingSource.DataSource = context.customers.Execute(System.Data.Objects.MergeOption.AppendOnly);
AddressBindingSource.DataSource = myaddresses;


Now as the book says i set the datasource of the addreess combobox to AddressBindingSource in UI then set displaymember, value and selectedItem.

Everything works fine except that display member of the combobox doesn`t display porperly. It diplays as MyAppName.Address, meaning object itself..What am i missing please help me
AnswerRe: Entity Framework ComboBox issue !! Pin
Migounette18-Mar-10 7:22
Migounette18-Mar-10 7:22 
GeneralRe: Entity Framework ComboBox issue !! Pin
Minimech18-Mar-10 9:28
Minimech18-Mar-10 9:28 
QuestionNew problem with linq just started ... anyone seen this? Pin
Michael J. Eber18-Mar-10 5:04
Michael J. Eber18-Mar-10 5:04 
AnswerRe: New problem with linq just started ... anyone seen this? Pin
RugbyLeague18-Mar-10 5:29
RugbyLeague18-Mar-10 5:29 
GeneralRe: New problem with linq just started ... anyone seen this? Pin
Michael J. Eber18-Mar-10 10:23
Michael J. Eber18-Mar-10 10:23 
GeneralRe: New problem with linq just started ... anyone seen this? Pin
RugbyLeague18-Mar-10 22:46
RugbyLeague18-Mar-10 22:46 
AnswerRe: New problem with linq just started ... anyone seen this? Pin
Keith Barrow18-Mar-10 6:48
professionalKeith Barrow18-Mar-10 6:48 
GeneralRe: New problem with linq just started ... anyone seen this? Pin
Michael J. Eber18-Mar-10 10:22
Michael J. Eber18-Mar-10 10:22 
QuestionGrouping similar taskbar buttons in the Taskbar Pin
stanley1818-Mar-10 3:07
stanley1818-Mar-10 3:07 
AnswerRe: Grouping similar taskbar buttons in the Taskbar Pin
Michael J. Eber18-Mar-10 10:36
Michael J. Eber18-Mar-10 10:36 
QuestionDesign-time code generation; InitializeComponent Pin
phanton18-Mar-10 2:06
phanton18-Mar-10 2:06 
AnswerRe: Design-time code generation; InitializeComponent Pin
phanton18-Mar-10 3:56
phanton18-Mar-10 3:56 
GeneralRe: Design-time code generation; InitializeComponent Pin
Speto25-Oct-10 15:26
professionalSpeto25-Oct-10 15:26 
QuestionRun method on client from server Pin
pointdee18-Mar-10 2:02
pointdee18-Mar-10 2:02 
AnswerRe: Run method on client from server Pin
Not Active18-Mar-10 3:14
mentorNot Active18-Mar-10 3:14 
GeneralRe: Run method on client from server Pin
pointdee18-Mar-10 3:37
pointdee18-Mar-10 3:37 
GeneralRe: Run method on client from server Pin
Mirko198018-Mar-10 5:20
Mirko198018-Mar-10 5:20 

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.