let me be a little more specific then i have this proerpty called
formatstring and a user can put in design mode any format string he
wants and the type representation.
but code doesn't know the type so to use the appropriate method
does that make any sense to u? how to procceed
Ο/Η Göran Andersson *γραψε:
If you wan't to parse any data type, then you have to be a bit more
specific about what kind of data you can expect, and how that should be
interpreted.
tolisss wrote: supose i want a more generic method
suppose i do not know what type the format string is going to produce
is there a more generic format method? can;t use DateTime.Parse method
i want somethong like Type.Parse
Ο/Η Claes Bergefall *γραψε: Take a look at DateTime.Parse and DateTime.ParseExact. Once you have avalid
DateTime object you can use its ToString method to format the output
/claes
"tolisss" <ap****************@gmail.com> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com...
Hi i have a string like "22/5/2006 12:00:00 pµ" and i want to create
a string like "05/22/06"
could someone please