【发布时间】:2016-04-06 22:34:10
【问题描述】:
在 WebForm 中,如何从另一个线程更新文本框
lock (tbConsole)
{
tbConsole.Text += "\r\n server:" + text;
}
【问题讨论】:
-
你为什么需要一个单独的线程呢?
-
请看我以前的帖子stackoverflow.com/questions/36448956/…,我不知道如何从代码后面更改我的文本框
标签: asp.net multithreading webforms