예제 #1
0
    protected void Start_Period(object sender, EventArgs e)
    {
        int    periodaccountid = Int32.Parse(((LinkButton)sender).CommandArgument);
        String username        = getUsername();
        var    user            = new UserController().ByUsername(username);

        new TFS.Intranet.Data.Billing.TimesheetController().Insert(username, periodaccountid, user.Rategroup);
        OpenTimesheets.DataBind();
        PendingTimesheets.DataBind();
        ReportableTimesheets.DataBind();
    }
예제 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     ReportableTimesheets.DataBind();
 }