如何从Db中立即打印值或数据 [英] How Do I Print Values Or Datas Instantly From The Db

查看:94
本文介绍了如何从Db中立即打印值或数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





在我的项目中使用网格和按钮点击事件,它从数据库中检索1000条记录并在网格上显示值,我的问题是为什么我还要等待所有1000条记录都是从DB加载的。



如果从DB加载后,我怎么能一个一条地打印记录。

Hi,

In My Project am Using a grid and on button click event it retrieve 1000 records from DB and display the values on the grid , My QUESTION is why i have to wait still all the 1000 records are loaded from DB.

How can i print the records one by one instantly once it is loaded from DB.

推荐答案

假设你正在运行一个查询,应该立即加载记录。

因此你不应该在打印之前等待加载记录。



要逐行打印记录,只需一次打印一行。
Assuming you are running one query, records should be loaded fairly instantly.
Thus you should not be waiting for records to load before printing.

To print records row by row, just print each row one at a time.


这篇关于如何从Db中立即打印值或数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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