StringBuilder and String Concatenation
String concatenation is one of the commonly used operations among programmers. If you don't handle the string concatenation properly, it may be decrease the performance of an application.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: StringBuilder and String Concatenation
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

pandu sweetyeditedPosted Nov 9, 2009, 9:56 PMEdited Nov 9, 2009, 9:58 PM
Hi, the given sample is good, But I want the help for How to compare the Database Column values to the string using string builder and dispaly the value in the GUI with the Label.Text I am using vb.net 2005 SQL server 2005. I have the table called table1. in that I have the 4 columns, I have to retrieve the values and compare with the following strings. string4,string3,string2,string1, First string1 is equal to database column 3 value then lable back color is green otherwise it is red.Like that. The database columns are having upto 30 values. Pick the data from database and compare with the strings. I have done for only one string....One column..I don't know how to get entire column data and compare,that is upto get 4 columns data and comapre each column.values. Please do a need ful. Can Any one suggest any best url to solve my problem...I am new to this vb.net. Advance thanks for your help.
ahmad mousaviPosted Oct 10, 2007, 1:51 PM
Dear Mahesh Chand thanks for your Helpful info. Please check these Loop Statements, Both Conditions are equal (for i=0 to 10000 step=1) Between two Pictures of Command prompt ;)