如何在Windows应用程序中使用后台工作程序

问题描述:

大家好,

我必须将100000条记录放入datagridview.因此需要时间.那时我必须向后台工作人员显示百分比.

我该怎么解决.

在此先感谢

Hello all,

i have to get 100000 records into datagridview. So it takes time. On that time i have to show background worker with percentage.

how can i solve this.

thanks in advance

使用背景C#中的Worker [ ^ ]应该可以帮助您.

C#中的BackgroundWorker基础 [
Using Background Worker in C#[^] should surely help you out.

BackgroundWorker Basics in C#[^] is another good article.