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

C#

 
QuestionAdd checkboxs dynamically in csharp smart device project Pin
Tunisien8620-Apr-10 23:28
Tunisien8620-Apr-10 23:28 
GeneralRe: Add checkboxs dynamically in csharp smart device project Pin
Tunisien8621-Apr-10 5:26
Tunisien8621-Apr-10 5:26 
Questiontype casting a string to a type which is getting received in a string Pin
dashingsidds20-Apr-10 23:20
dashingsidds20-Apr-10 23:20 
AnswerRe: type casting a string to a type which is getting received in a string Pin
surender.m20-Apr-10 23:34
surender.m20-Apr-10 23:34 
GeneralRe: type casting a string to a type which is getting received in a string Pin
J4amieC21-Apr-10 1:40
J4amieC21-Apr-10 1:40 
GeneralRe: type casting a string to a type which is getting received in a string Pin
surender.m21-Apr-10 1:47
surender.m21-Apr-10 1:47 
GeneralRe: type casting a string to a type which is getting received in a string Pin
J4amieC21-Apr-10 1:50
J4amieC21-Apr-10 1:50 
AnswerRe: type casting a string to a type which is getting received in a string Pin
Keith Barrow20-Apr-10 23:39
professionalKeith Barrow20-Apr-10 23:39 
The best way to go about this depends upon your exact situation:


  • You should do a sanity check over what you are doing. If you want to pass objects/information round as strings, you can easily serialize/deserialize between objects and XML. Here, most of the work is done for you
  • If you can't change the format, and you have a limited number (e.g. 10 or so) of inbound types, just implement a simple if statetment.
  • If you have more types to deal with, you'll need to do the work by reflection. Reflection takes much more code and is relatively messy.

Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter.
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.

AnswerRe: type casting a string to a type which is getting received in a string Pin
surender.m21-Apr-10 3:27
surender.m21-Apr-10 3:27 
GeneralRe: type casting a string to a type which is getting received in a string Pin
dashingsidds21-Apr-10 22:42
dashingsidds21-Apr-10 22:42 
AnswerRe: type casting a string to a type which is getting received in a string Pin
PIEBALDconsult21-Apr-10 3:57
mvePIEBALDconsult21-Apr-10 3:57 
QuestionSending a Custom Ethernet packet Pin
spiritboy20-Apr-10 22:48
spiritboy20-Apr-10 22:48 
QuestionICCompress Pin
TimSWatson20-Apr-10 22:38
TimSWatson20-Apr-10 22:38 
QuestionFileSystemWatcher problem when multi-files deletion in watched folder Pin
Rikq20-Apr-10 22:31
Rikq20-Apr-10 22:31 
QuestionHow to search Special Character in sql server 2005? [modified] Pin
Ashwani Dhiman20-Apr-10 22:11
Ashwani Dhiman20-Apr-10 22:11 
AnswerRe: How to search Special Character in sql server 2005? Pin
Ice_Freez0520-Apr-10 22:19
Ice_Freez0520-Apr-10 22:19 
QuestionSave XML Pin
NarVish20-Apr-10 22:04
NarVish20-Apr-10 22:04 
AnswerRe: Save XML Pin
Ice_Freez0520-Apr-10 22:22
Ice_Freez0520-Apr-10 22:22 
GeneralRe: Save XML Pin
NarVish20-Apr-10 23:20
NarVish20-Apr-10 23:20 
AnswerRe: Save XML Pin
surender.m20-Apr-10 23:51
surender.m20-Apr-10 23:51 
GeneralRe: Save XML Pin
NarVish21-Apr-10 0:09
NarVish21-Apr-10 0:09 
GeneralRe: Save XML Pin
surender.m21-Apr-10 0:21
surender.m21-Apr-10 0:21 
GeneralRe: Save XML Pin
NarVish21-Apr-10 0:51
NarVish21-Apr-10 0:51 
Questionfor loop??? Pin
jellybeannn20-Apr-10 21:57
jellybeannn20-Apr-10 21:57 
Questionsearching in datagridview c# Pin
LenaReu20-Apr-10 21:32
LenaReu20-Apr-10 21:32 

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.