SQL Server に接続してクエリを送信するのは非常に簡単です。しかし、それを Progress Bars と関連付ける方法を知りたいです。
つまり、クエリが実行されているとき、バーは進行しています...
SQL Server に接続してクエリを送信するのは非常に簡単です。しかし、それを Progress Bars と関連付ける方法を知りたいです。
つまり、クエリが実行されているとき、バーは進行しています...
For example you know number of your query. Before all of that, you set maximum and minimum of ProgressRing.
ProgressRing.Maximum = 100;
ProgressRing.Minimum = 0;
and before the loop you define a counter type of int. in the loop that you need code like this
ring.Value = (100 * counter) / query.Count;