Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataView/DataSet/DataReader
Message
From
09/01/2007 13:39:12
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
09/01/2007 13:28:04
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01183234
Message ID:
01183881
Views:
41
>sDispStr += TRow("field1").ToString() + ", " + TRow("field2").ToString() + " – " + TRow("field3").ToString() + TRow("field4").ToString() + vbCRLF or
sDispStr += CStr(TRow("field1")) + ", " + CStr(TRow("field2")) + " – " + CStr(TRow("field3")) + CStr(TRow("field4")) + vbCRLF

I prefer .ToString, as inevitable the user is going to want the output formatted, and replacing Cstr's is annoying! :-)
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform