|
-
Apr 12th, 2008, 02:21 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] [2005] Returning SQLCOMMAND results to a string
I have a function that will be returning my list of customers it gets from a SQL table. But instead of just returning the results of the query in its native sql format, I need it to return them as a string, with each result after the other with a comma in the middle, like this: Customer1,Customer 2, Customer 3, etc...
I know I can use the StringBuilder to build the string, but how can I tell it that I need the results in a string?
Thanks!

In the unlikely event that I answer your question correctly, please Rate my post
Using Visual Studio 2005 Professional 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|