从datetimepicker选择日期时,该特定日期的数据库中存在相应的数据 [英] when selecting a date from datetimepicker, respective data present in database of that particular date

查看:74
本文介绍了从datetimepicker选择日期时,该特定日期的数据库中存在相应的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


从datetimepicker中选择日期时,该特定日期数据库中存在的各个数据应使用存储过程显示在datagridview中.


感谢

Hi all,


when selecting a date from datetimepicker, respective data present in database of that particular date should display in datagridview using stored procedure.How to do it


Thanks

推荐答案

请按照以下步骤操作:

0)根据指定的日期从数据库中检索数据.

1)将结果数据集绑定到datagrid视图

2)用一杯冷淡的A&W根啤酒庆祝工作做得很好.
Follow these steps:

0) Retrieve data from database based on specified date.

1) Bind resulting dataset to datagrid view

2) Celebrate a job well-done with a frosty mug of A&W root-beer.


您可以在表格中添加日期字段",以监控记录的创建日期.
然后,您将日期字段"作为用于过滤记录的搜索参数
You can add a ''date field'' to your table to monitor the date the record was created.
Then you that ''date field'' as the search parameter for filtering your record


<a href=""></a><a href=""></a>[<a href="" target="_blank"></a>]<small><small><small><small><small><big><big><big><big><big><big><big><big><big>>>>>>></big></big></big></big></big></big></big></big></big></small></small></small></small></small>


这篇关于从datetimepicker选择日期时,该特定日期的数据库中存在相应的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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