Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
別のコンピューターで実行されているサーバー アプリにクエリを実行している単純な Windows フォーム アプリケーションがあります。クエリは正常に機能しますが、結果をテキスト ボックスに表示するのに問題があります。for ループでテストしていましたが、クエリ間で Thread::Sleep を 5 秒間使用しても、最後の結果のみがテキスト ボックスに書き込まれます。毎回結果をテキストボックスに書き込むにはどうすればよいですか?