如何在GridView中根据日期到日期维护员工的时间表 [英] How to maintain time sheet of employees based on From date to till date in a GridView
本文介绍了如何在GridView中根据日期到日期维护员工的时间表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello Everyone ..
如何在GridView中根据日期到日期维护员工的时间表。
任何帮助..
Hello Everyone..
How to maintain time sheet of employees based on From date to till date in a GridView.
Any help..
推荐答案
从DataTable WHERE中选择*((FirstDate> ='' +第一个日期时间+'')AND(LastDate< =''+上次日期时间+''))
尝试使用此选择命令数据集的适配器...
之后你会得到这些日期之间的所有行...
最好的问候
Hemant Tyagi
+ 91-9045263253
写信给:Hemantt84@hotmail.com
"Select * from DataTable WHERE ((FirstDate >=''" + first date time+ "'') AND (LastDate<= ''" + last date time+ "''))"
Try to use this select command for the adapter to the dataset...
after that you will get all rows which is lies between these dates...
Best Regards
Hemant Tyagi
+91-9045263253
Write on : Hemantt84@hotmail.com
这篇关于如何在GridView中根据日期到日期维护员工的时间表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文