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 >
Wrap
Text File
|
2010-08-24
|
1KB
|
31 lines
Partial Class askDailyScheduleByEmployeeReportform
' Inherits System.Web.UI.Page
Inherits AspNetMaker7_tfpssnet
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
If Session("tfpssnet_Status") <> "login" Then
Response.Redirect("login.aspx")
End If
x_StartDate.Value = Now.ToString("MM/dd/yyyy")
x_EndDate.Value = Now.ToString("MM/dd/yyyy")
' srcEmployee.ConnectionString = EW_DB_CONNECTION_STRING
End If
End Sub
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Session("tmpStartDate") = x_StartDate.Value
Session("tmpEndDate") = x_EndDate.Value
' Session("tmpEmployee") = ddlEmployee.SelectedValue
Response.Redirect("rptDailyScheduleByEmployee.aspx")
'Dim ctl As Control
'Dim content As ContentPlaceHolder
'content = Page.Master.FindControl("Content")
'For Each ctl In content.Controls
' Response.Write(ctl.ID & "<br>")
'Next
End Sub
End Class