如何调整datagridview [英] how to tweak the datagridview

查看:58
本文介绍了如何调整datagridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


请我需要计算用户登录多少次,并在datagrid视图中以数字显示数量.

Hi,
Please i need to count how many time a user logged in and display the amount in numbers in the datagrid view

推荐答案

无论用户何时登录,都要从该特定用户的数据库,然后将其递增1并更新数据库中的递增值.
在填充Gridview时,您可以从数据库中检索值并显示在Gridview中.

干杯
whenever the user logged in,get the max value from the database for that particular user, and increment it by one and update the incremented value in the database.
While filling the Gridview u can retrieve the value from the database and display in the Gridview.

Cheers


这篇关于如何调整datagridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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