Click here to Skip to main content
15,887,477 members
Home / Discussions / C#
   

C#

 
QuestionWindow Manager Collection Pin
Kevin Marois6-Oct-08 8:09
professionalKevin Marois6-Oct-08 8:09 
AnswerRe: Window Manager Collection Pin
Mark Salsbery6-Oct-08 8:27
Mark Salsbery6-Oct-08 8:27 
GeneralRe: Window Manager Collection Pin
Kevin Marois6-Oct-08 9:56
professionalKevin Marois6-Oct-08 9:56 
QuestionRe: Window Manager Collection Pin
led mike6-Oct-08 10:01
led mike6-Oct-08 10:01 
GeneralRe: Window Manager Collection Pin
Mark Salsbery6-Oct-08 10:35
Mark Salsbery6-Oct-08 10:35 
QuestionDynamic setting of properties from data stream Pin
James R. Twine6-Oct-08 7:07
James R. Twine6-Oct-08 7:07 
AnswerRe: Dynamic setting of properties from data stream Pin
Wendelius6-Oct-08 7:58
mentorWendelius6-Oct-08 7:58 
AnswerRe: Dynamic setting of properties from data stream Pin
N a v a n e e t h6-Oct-08 8:00
N a v a n e e t h6-Oct-08 8:00 
Try this
void AssignPropertiesFromCSV(string csv, object obj, params string[] propertyNames) {
            string[] csvValues = csv.Split(',');
            int index = 0;
            foreach (string propertyName in propertyNames) {
                if (!string.IsNullOrEmpty(propertyName)) 
                    obj.GetType().GetProperty(propertyName).SetValue(obj, csvValues[index], null);
                index++;
            }
        }



GeneralRe: Dynamic setting of properties from data stream Pin
James R. Twine8-Oct-08 1:49
James R. Twine8-Oct-08 1:49 
AnswerRe: Dynamic setting of properties from data stream Pin
Mark Churchill6-Oct-08 17:12
Mark Churchill6-Oct-08 17:12 
GeneralRe: Dynamic setting of properties from data stream Pin
James R. Twine8-Oct-08 1:54
James R. Twine8-Oct-08 1:54 
QuestionData sending/receiving using a dial-up modem and C# Pin
ajorge20086-Oct-08 6:50
ajorge20086-Oct-08 6:50 
AnswerRe: Data sending/receiving using a dial-up modem and C# Pin
N a v a n e e t h6-Oct-08 7:11
N a v a n e e t h6-Oct-08 7:11 
AnswerRe: Data sending/receiving using a dial-up modem and C# Pin
Pedram Behroozi6-Oct-08 7:15
Pedram Behroozi6-Oct-08 7:15 
QuestionWhich is the most used programming language Pin
Christopher Clarke6-Oct-08 6:43
Christopher Clarke6-Oct-08 6:43 
AnswerRe: Which is the most used programming language Pin
User 66586-Oct-08 6:51
User 66586-Oct-08 6:51 
AnswerRe: Which is the most used programming language Pin
N a v a n e e t h6-Oct-08 7:22
N a v a n e e t h6-Oct-08 7:22 
GeneralRe: Which is the most used programming language Pin
led mike6-Oct-08 9:57
led mike6-Oct-08 9:57 
GeneralRe: Which is the most used programming language Pin
Guffa6-Oct-08 22:19
Guffa6-Oct-08 22:19 
AnswerRe: Which is the most used programming language PinPopular
#realJSOP6-Oct-08 8:00
mve#realJSOP6-Oct-08 8:00 
GeneralRe: Which is the most used programming language Pin
Paul Conrad6-Oct-08 9:50
professionalPaul Conrad6-Oct-08 9:50 
GeneralRe: Which is the most used programming language Pin
Pete O'Hanlon6-Oct-08 9:53
mvePete O'Hanlon6-Oct-08 9:53 
JokeRe: Which is the most used programming language Pin
Paul Conrad6-Oct-08 10:04
professionalPaul Conrad6-Oct-08 10:04 
GeneralRe: Which is the most used programming language Pin
DaveyM696-Oct-08 9:58
professionalDaveyM696-Oct-08 9:58 
GeneralRe: Which is the most used programming language Pin
led mike6-Oct-08 10:00
led mike6-Oct-08 10:00 

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.