Click here to Skip to main content
15,911,035 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dynamically Add Rows to html table from code behind Pin
Ali Rashid17-Mar-10 9:18
Ali Rashid17-Mar-10 9:18 
AnswerRe: Dynamically Add Rows to html table from code behind Pin
Saksida Bojan17-Mar-10 9:13
Saksida Bojan17-Mar-10 9:13 
AnswerRe: Dynamically Add Rows to html table from code behind Pin
OriginalGriff17-Mar-10 9:55
mveOriginalGriff17-Mar-10 9:55 
GeneralRe: Dynamically Add Rows to html table from code behind Pin
Saksida Bojan17-Mar-10 9:57
Saksida Bojan17-Mar-10 9:57 
AnswerRe: Dynamically Add Rows to html table from code behind Pin
PunkIsNotDead17-Mar-10 14:57
PunkIsNotDead17-Mar-10 14:57 
GeneralRe: Dynamically Add Rows to html table from code behind Pin
Ali Rashid18-Mar-10 2:42
Ali Rashid18-Mar-10 2:42 
QuestionPST file processing Pin
heretic61917-Mar-10 7:42
heretic61917-Mar-10 7:42 
QuestionBest Practice Suggestions for Mapping ClassA.Value to ClassB.Property? Pin
Matthew Klein17-Mar-10 7:18
Matthew Klein17-Mar-10 7:18 
I have a customized ComboBox and a class with many properties. I am putting one of my ComboBoxes on my MainForm for each property in my class. When it’s time to “run” my application I need to transfer a value from each ComboBox into a different property in my class.

Ex: I have 5 MyCB : ComboBox and MyClass with 5 properties. When I start my processing I need to take a value from each ComboBox and put it into a different Property.

MyClass.PropA = MyCBa.MyValue;
MyClass.PropB = MyCBb.MyValue;
MyClass.PropC = MyCBc.MyValue;
…ect…


This doesn’t “feel” like the best way to do this. I came to this feeling when I needed to do a similar process for 20 items and was just cutting and pasting code and changing a letter.

My question is: Is there a more OO way of doing this, or a “best practice” method/pattern for this type of mapping? I would love to hear all ideas and suggestions.

Thank you all for your time!
AnswerRe: Best Practice Suggestions for Mapping ClassA.Value to ClassB.Property? Pin
#realJSOP17-Mar-10 7:39
professional#realJSOP17-Mar-10 7:39 
AnswerIf you want the OO way Pin
Ennis Ray Lynch, Jr.17-Mar-10 11:34
Ennis Ray Lynch, Jr.17-Mar-10 11:34 
QuestionIllegal cross thread exception in Invoke method Pin
yeah100017-Mar-10 4:21
yeah100017-Mar-10 4:21 
AnswerRe: Illegal cross thread exception in Invoke method Pin
Abhinav S17-Mar-10 4:51
Abhinav S17-Mar-10 4:51 
GeneralRe: Illegal cross thread exception in Invoke method Pin
AspDotNetDev17-Mar-10 12:30
protectorAspDotNetDev17-Mar-10 12:30 
GeneralRe: Illegal cross thread exception in Invoke method Pin
Luc Pattyn17-Mar-10 12:52
sitebuilderLuc Pattyn17-Mar-10 12:52 
AnswerRe: Illegal cross thread exception in Invoke method Pin
Dave Kreskowiak17-Mar-10 4:59
mveDave Kreskowiak17-Mar-10 4:59 
GeneralRe: Illegal cross thread exception in Invoke method [modified] Pin
yeah100017-Mar-10 5:07
yeah100017-Mar-10 5:07 
GeneralRe: Illegal cross thread exception in Invoke method Pin
Luc Pattyn17-Mar-10 5:14
sitebuilderLuc Pattyn17-Mar-10 5:14 
GeneralRe: Illegal cross thread exception in Invoke method Pin
AspDotNetDev17-Mar-10 12:24
protectorAspDotNetDev17-Mar-10 12:24 
GeneralRe: Illegal cross thread exception in Invoke method Pin
yeah100018-Mar-10 1:33
yeah100018-Mar-10 1:33 
GeneralRe: Illegal cross thread exception in Invoke method Pin
yeah100031-Mar-10 6:16
yeah100031-Mar-10 6:16 
GeneralRe: Illegal cross thread exception in Invoke method Pin
AspDotNetDev31-Mar-10 9:27
protectorAspDotNetDev31-Mar-10 9:27 
GeneralRe: Illegal cross thread exception in Invoke method Pin
yeah100031-Mar-10 21:56
yeah100031-Mar-10 21:56 
GeneralRe: Illegal cross thread exception in Invoke method Pin
AspDotNetDev2-Apr-10 21:26
protectorAspDotNetDev2-Apr-10 21:26 
GeneralRe: Illegal cross thread exception in Invoke method Pin
yeah10005-Apr-10 1:39
yeah10005-Apr-10 1:39 
GeneralRe: Illegal cross thread exception in Invoke method Pin
AspDotNetDev5-Apr-10 20:27
protectorAspDotNetDev5-Apr-10 20:27 

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.