StringBuilder and String Concatenation
Learn how string concatenation can affect application performance and why StringBuilder is useful for efficient string operations in VB.NET.
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

pandu sweetyeditedPosted Nov 9, 2009, 4:56 PM ESTEdited Nov 9, 2009, 4:58 PM EST
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, 9:51 AM EDT
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 ;)