Return to Snippet

Revision: 11575
at February 10, 2009 03:18 by phpmann


Initial Code
for (int i = 0; i < listBox1.Items.Count; i++)
            {
                String Text = Convert.ToString(listBox1.Items[i]);
                Text = Text.Replace(textBox2.Text, textBox3.Text);
                listBox1.Items[i] = Text;
               
               // listBox1.Items[i] = Regex.Replace(Convert.ToString(listBox1.Items[i]), textBox2.Text, textBox3.Text);

Initial URL

                                

Initial Description

                                

Initial Title
Search and Replace listbox with text

Initial Tags

                                

Initial Language
C#