home *** CD-ROM | disk | FTP | other *** search
/ 66.142.0.142 / 66.142.0.142.tar / 66.142.0.142 / askDailyScheduleByEmployeeReportform.aspx.vb < prev    next >
Text File  |  2010-08-24  |  1KB  |  31 lines

  1.  
  2. Partial Class askDailyScheduleByEmployeeReportform
  3.     '    Inherits System.Web.UI.Page
  4.     Inherits AspNetMaker7_tfpssnet
  5.  
  6.     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
  7.         If Not IsPostBack Then
  8.             If Session("tfpssnet_Status") <> "login" Then
  9.                 Response.Redirect("login.aspx")
  10.             End If
  11.             x_StartDate.Value = Now.ToString("MM/dd/yyyy")
  12.             x_EndDate.Value = Now.ToString("MM/dd/yyyy")
  13.             '            srcEmployee.ConnectionString = EW_DB_CONNECTION_STRING
  14.         End If
  15.     End Sub
  16.  
  17.     Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
  18.         Session("tmpStartDate") = x_StartDate.Value
  19.         Session("tmpEndDate") = x_EndDate.Value
  20.         '        Session("tmpEmployee") = ddlEmployee.SelectedValue
  21.         Response.Redirect("rptDailyScheduleByEmployee.aspx")
  22.  
  23.         'Dim ctl As Control
  24.         'Dim content As ContentPlaceHolder
  25.         'content = Page.Master.FindControl("Content")
  26.         'For Each ctl In content.Controls
  27.         '    Response.Write(ctl.ID & "<br>")
  28.         'Next
  29.     End Sub
  30.  
  31. End Class