在datagrid视图从数据库中获取行时,如何显示进度条 [英] How do I show a progress bar while the datagrid view fetch rows from the database

查看:72
本文介绍了在datagrid视图从数据库中获取行时,如何显示进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找,但我没有找到符合我需求的来源。



我只是Visual Basic.Net的新手。我只是想问一下,你是否碰巧知道一个关于如何显示加载或搜索的动画gif的视频教程,或者当点击按钮并且数据或记录是否正在提取或尚未准备好时显示进度条?我一直在寻找,但我仍然没有得到我想要的东西。







非常感谢你。



我的尝试:



我的目的是告知用户表单正在加载并仍然从数据库中提取记录,并防止用户混淆,认为表单已崩溃。

我正在使用vb .net 4.5框架和oracle数据库/存储过程

I've been searching all over but I didn't find a source that fit my needs.

I am just a newbie in Visual Basic.Net. I just want to ask if, do you happened to know a video tutorial on how to show an animated gif that says loading or searching or a PROGRESS BAR when the button is clicked and the data or records are fetching or not yet ready? I've been searching all over but I still didn't get what I wanted.



Thank you, so much.

What I have tried:

My purpose is so that the user is informed that the form is loading and still fetching records from the database, and prevent confusion to the user, of having thought that the form is crashed.
I am using vb .net 4.5 framework and oracle database/ stored procedure

推荐答案

这里有几篇关于CodeProject的文章,供您查看并找出最适合您的文章


例如进度条,线程,Windows窗体和你 [ ^ ]



自定义ProgressBar控件 [ ^ ]



ProgressBar with Percentage [ ^ ]



使用此搜索 [ ^ ]
There are several articles here on CodeProject for you to work through and find out which one suits you best

E.g.Progress Bars, Threads, Windows Forms, and You[^]

Custom ProgressBar Control[^]

ProgressBar with Percentage[^]

Many more can be found with this Search[^]


这篇关于在datagrid视图从数据库中获取行时,如何显示进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆