I'm trying to format an object using string variables. Just can't seem to
get it to work.
Currently using System.String.F ormat(renderArg s.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(va lue as object, frmat as string) as String
Dim ret as string
ret=value.ToStr ing(frmat)
return ret
End Function
Any ideas?
Thanks,
Schneider
get it to work.
Currently using System.String.F ormat(renderArg s.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(va lue as object, frmat as string) as String
Dim ret as string
ret=value.ToStr ing(frmat)
return ret
End Function
Any ideas?
Thanks,
Schneider
Comment