C#批量替换某一字符串

2020-04-02  每日一例第24天

1.新建对话框,拖label/textbox/button控件;

2.后台代码;

         textBox1.Text = textBox1.Text.Replace(textBox2.Text, textBox3.Text);

 

posted @ 2020-04-02 00:24  winnerljs  阅读(2503)  评论(0编辑  收藏  举报