S
schneider
I'm trying to format an object using string variables. Just can't seem to
get it to work.
Currently using System.String.Format(renderArgs.Format, renderArgs.Item)
Seems to have weird results, sometimes just show my format, sometimes blows
up, sometimes works with limited formats...
Example goal:
Function FormatObject(value as object, frmat as string) as String
Dim ret as string
ret=value.ToString(frmat)
return ret
End Function
Any ideas?
Thanks,
Schneider
get it to work.
Currently using System.String.Format(renderArgs.Format, renderArgs.Item)
Seems to have weird results, sometimes just show my format, sometimes blows
up, sometimes works with limited formats...
Example goal:
Function FormatObject(value as object, frmat as string) as String
Dim ret as string
ret=value.ToString(frmat)
return ret
End Function
Any ideas?
Thanks,
Schneider