Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
QuestionManagementclass Pin
Mycroft Holmes7-Sep-08 17:19
professionalMycroft Holmes7-Sep-08 17:19 
AnswerRe: Managementclass Pin
N a v a n e e t h7-Sep-08 18:29
N a v a n e e t h7-Sep-08 18:29 
AnswerRe: Managementclass - idiot Pin
Mycroft Holmes7-Sep-08 20:51
professionalMycroft Holmes7-Sep-08 20:51 
Questionreflection method Pin
George_George7-Sep-08 17:04
George_George7-Sep-08 17:04 
Questionusing reflection to invoke a method Pin
George_George7-Sep-08 16:16
George_George7-Sep-08 16:16 
AnswerRe: using reflection to invoke a method Pin
PIEBALDconsult7-Sep-08 16:36
mvePIEBALDconsult7-Sep-08 16:36 
GeneralRe: using reflection to invoke a method Pin
George_George7-Sep-08 16:50
George_George7-Sep-08 16:50 
AnswerRe: using reflection to invoke a method Pin
N a v a n e e t h7-Sep-08 18:23
N a v a n e e t h7-Sep-08 18:23 
GeneralRe: using reflection to invoke a method Pin
George_George7-Sep-08 18:31
George_George7-Sep-08 18:31 
GeneralRe: using reflection to invoke a method Pin
N a v a n e e t h7-Sep-08 18:41
N a v a n e e t h7-Sep-08 18:41 
GeneralRe: using reflection to invoke a method Pin
George_George7-Sep-08 18:47
George_George7-Sep-08 18:47 
GeneralRe: using reflection to invoke a method Pin
N a v a n e e t h7-Sep-08 19:03
N a v a n e e t h7-Sep-08 19:03 
GeneralRe: using reflection to invoke a method Pin
George_George7-Sep-08 20:57
George_George7-Sep-08 20:57 
GeneralRe: using reflection to invoke a method Pin
George_George10-Sep-08 0:23
George_George10-Sep-08 0:23 
QuestionHow Pin
Silvyster7-Sep-08 15:07
Silvyster7-Sep-08 15:07 
AnswerRe: How Pin
Anthony Mushrow7-Sep-08 23:00
professionalAnthony Mushrow7-Sep-08 23:00 
QuestionChanging image size ? Pin
Mohammad Dayyan7-Sep-08 12:31
Mohammad Dayyan7-Sep-08 12:31 
AnswerRe: Changing image size ? Pin
N a v a n e e t h7-Sep-08 18:36
N a v a n e e t h7-Sep-08 18:36 
QuestionString Obfusication cause program not to work. Pin
Buckleyindahouse7-Sep-08 11:11
Buckleyindahouse7-Sep-08 11:11 
AnswerRe: String Obfusication cause program not to work. Pin
Mbah Dhaim7-Sep-08 11:34
Mbah Dhaim7-Sep-08 11:34 
AnswerRe: String Obfusication cause program not to work. Pin
#realJSOP7-Sep-08 23:53
professional#realJSOP7-Sep-08 23:53 
GeneralGetting DataGridView to work with 3 DB tables Pin
jocke4u7-Sep-08 9:58
jocke4u7-Sep-08 9:58 
GeneralRe: Getting DataGridView to work with 3 DB tables Pin
Wendelius7-Sep-08 11:03
mentorWendelius7-Sep-08 11:03 
Hi,

Basic idea is that you create for example a datatable which is populated by using SELECT and it joins all three tables. This will get you rows to the grid (you can also use entity instead of a datatable).

The combo boxes are populated independently from the rows (they have a separate datasource), which means you use a separate datatable for each combo providing possible values. For the value to show you use DisplayMember and for the foreign key column, which defines selection, you use ValueMember.

Hope this helps,

Mika
QuestionMaking a C# Console Menu [modified] Pin
CaptainKrtek7-Sep-08 8:47
CaptainKrtek7-Sep-08 8:47 
AnswerRe: Making a C# Console Menu Pin
Mbah Dhaim7-Sep-08 9:52
Mbah Dhaim7-Sep-08 9:52 

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.