单击Windows窗体中的按钮即可显示今天的任务 [英] Show today's tasks on click of a button in Windows form

查看:49
本文介绍了单击Windows窗体中的按钮即可显示今天的任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表单,并且有一个按钮今天的任务".我想要的是,当我单击该按钮时,保存在当前日期的任务将显示在DataGirdView中...

I have a form and have a button Today's Task .What I want is ,when I will click on this button the tasks saved for current date will be shown in DataGirdView ...

...我正在使用VB 2008将应用程序和MS Access开发为数据库. /p>

...I am using VB 2008 to develop my application and MS Access as database.

推荐答案

Na,

我不是数据库专家,我在猜测如何设置内容,但是假设您使用TableAdapter对其进行设置,请查看以下文档:

I'm not a database guy and I'm guessing at how you have things set up, but assuming you have it set up using a TableAdapter, have a look at the following document:

https://msdn.microsoft.com/zh-CN /library/ms171919.aspx

https://msdn.microsoft.com/en-us/library/ms171919.aspx

具体来说,您需要创建一个获取"日期为参数的查询(填充"查询),因此也请查看此链接:

Specifically, you'll want to create a "get" query (a "fill by" query) with the date being the parameter, so look at this link also:

https://msdn.microsoft.com/zh-CN /library/ms171905.aspx

https://msdn.microsoft.com/en-us/library/ms171905.aspx

希望对您有帮助.


这篇关于单击Windows窗体中的按钮即可显示今天的任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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