>>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! :-)
That if the field is a type diferent from string, cause otherwise there is no formating in the ToString method. Instead you will need to use the String.Format Method. ;)
Alexandre Palma
Senior Application Architect