The text of this article is not in this database — only its details are. Read it on the old site: StringBuilder and String Concatenation
3 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: StringBuilder and String Concatenation
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
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 ;)