对我的项目中批准时间表的怀疑 [英] Doubt regarding the timesheet approving in my project

查看:72
本文介绍了对我的项目中批准时间表的怀疑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在我们填写完项目后,我的项目会有一个时间表填写,一周后一周便会得到TL的批准.但是现在要求所有星期的时间表都应显示在单个网页上,如果我们保留复选框,它们将按一周检查一周一周的时间表,他们一次批准.请告诉我,我需要如何更改一周才能显示所有星期.我可以按月查看并显示所有星期吗?请帮助提供一些建议.

hi all,

There is a timesheet filling in my project after we filled those will be approved by TL''s one week after one week.But now there requirement is all the weeks timesheet should display on single webpage and if we keep checkboxes they check the week by week timesheet and they approve at a time.please tell me how i need to do the change from one week to display all weeks.can i take monthwise and display all weeks is it possible or not.please help in giving some suggestions.

thanks in advance!

推荐答案

也许中继器控件正是您想要的.本文可能会有所帮助:
http://weblogs.asp.net/jgalloway/存档/2007/07/07/checkbox-grids-in-asp-net.aspx [
Perhaps the repeater control is what you are looking for. This article may help:
http://weblogs.asp.net/jgalloway/archive/2007/07/07/checkbox-grids-in-asp-net.aspx[^]

You can display all weeks, starting with non-approved weeks and sorted on date. But it''s also possible to show non-approved weeks only (and the last four weeks or so).



嵌套中继器方法可以解决您的问题.首先找出指定月份的周数作为List.外层中继器将用一个复选框绑定此星期列表,该复选框将指示TL是否要批准时间表,内层中继器将绑定该特定星期的所有时间表.现在,如果发生批准的情况,则迭代外部中继器并检查该特定星期是否得到批准,如果批准了,请找到内部中继器并批准该周的时间表,希望此举可以帮助您找到解决方案.
Hi,
nested repeater approach could solve your problem.First find out weeks for a specified month as a List. Outer repeater will bind this list of weeks with a checkbox which will indicate whether TLs wants to approve time sheet or not, inner repeater will bind all the time sheets for that specific week. Now in event where approval happens iterate outer repeater and check whether that specific week is approved or not, if approved find the inner repeater and approve time sheet for that week, I hope this will help you to find a solution.


这篇关于对我的项目中批准时间表的怀疑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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