home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
66.142.0.142
/
66.142.0.142.tar
/
66.142.0.142
/
tblSchedulesrch.aspx
< prev
next >
Wrap
Text File
|
2012-12-16
|
21KB
|
501 lines
<%@ Page Language="VB" MasterPageFile="masterpage.master" AutoEventWireup="false" CodeFile="tblSchedulesrch.aspx.vb" Inherits="tblSchedulesrch" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
<!--
// Create page object
var tblSchedule_search = new ew_Page("tblSchedule_search");
// page properties
tblSchedule_search.PageID = "search"; // page ID
var EW_PAGE_ID = tblSchedule_search.PageID; // for backward compatibility
// extend page with validate function for search
tblSchedule_search.ValidateSearch = function(fobj) {
if (!this.ValidateRequired)
return true; // ignore validation
var infix = "";
elm = fobj.elements["x" + infix + "_schDate"];
if (elm && !ew_CheckUSDate(elm.value))
return ew_OnError(this, elm, "Incorrect date, format = mm/dd/yyyy - Date");
// elm = fobj.elements["x" + infix + "_schCallTime"];
// if (elm && !ew_CheckTime(elm.value))
// return ew_OnError(this, elm, "Incorrect time (hh:mm:ss) - Call Time");
// elm = fobj.elements["x" + infix + "_schStartTime"];
// if (elm && !ew_CheckTime(elm.value))
// return ew_OnError(this, elm, "Incorrect time (hh:mm:ss) - Start Time");
// elm = fobj.elements["x" + infix + "_schEndTime"];
// if (elm && !ew_CheckTime(elm.value))
// return ew_OnError(this, elm, "Incorrect time (hh:mm:ss) - End Time");
// elm = fobj.elements["x" + infix + "_schOutTime"];
// if (elm && !ew_CheckTime(elm.value))
// return ew_OnError(this, elm, "Incorrect time (hh:mm:ss) - Out Time");
elm = fobj.elements["x" + infix + "_schRate"];
if (elm && !ew_CheckNumber(elm.value))
return ew_OnError(this, elm, "Incorrect floating point number - Rate");
// elm = fobj.elements["x" + infix + "_schActualStart"];
// if (elm && !ew_CheckTime(elm.value))
// return ew_OnError(this, elm, "Incorrect time (hh:mm:ss) - Actual Start");
// elm = fobj.elements["x" + infix + "_schActualEnd"];
// if (elm && !ew_CheckTime(elm.value))
// return ew_OnError(this, elm, "Incorrect time (hh:mm:ss) - Actual End");
for (var i=0;i<fobj.elements.length;i++) {
var elem = fobj.elements[i];
if (elem.name.substring(0,2) == "s_" || elem.name.substring(0,3) == "sv_")
elem.value = "";
}
return true;
}
tblSchedule_search.SelectAllKey = function(elem) {
ew_SelectAll(elem);
}
<% If EW_CLIENT_VALIDATE Then %>
tblSchedule_search.ValidateRequired = true; // uses JavaScript validation
<% Else %>
tblSchedule_search.ValidateRequired = false; // no JavaScript validation
<% End If %>
// search highlight properties
tblSchedule_search.ShowHighlightText = "Show highlight";
tblSchedule_search.HideHighlightText = "Hide highlight";
//-->
</script>
<link rel="stylesheet" type="text/css" media="all" href="calendar/calendar-win2k-1.css" title="win2k-1" />
<script type="text/javascript" src="calendar/calendar.js"></script>
<script type="text/javascript" src="calendar/lang/calendar-en.js"></script>
<script type="text/javascript" src="calendar/calendar-setup.js"></script>
<script language="JavaScript" type="text/javascript">
<!--
// Write your client script here, no need to add script tags.
// To include another .js script, use:
// ew_ClientScriptInclude("my_javascript.js");
//-->
</script>
<p><span class="aspnetmaker">Search TABLE: Schedule<br /><br />
<a href="<%= tblSchedule.ReturnUrl %>">Back to List</a></span></p>
<% tblSchedule_search.ShowMessage() %>
<form name="ftblSchedulesearch" id="ftblSchedulesearch" method="post" onsubmit="this.action=location.pathname;return tblSchedule_search.ValidateSearch(this);">
<p />
<input type="hidden" name="t" id="t" value="tblSchedule" />
<input type="hidden" name="a_search" id="a_search" value="S" />
<table cellspacing="0" class="ewGrid"><tr><td class="ewGridContent">
<div class="ewGridMiddlePanel">
<table cellspacing="0" class="ewTable">
<tr<%= tblSchedule.schDate.RowAttributes %>>
<td class="ewTableHeader">Date</td>
<td<%= tblSchedule.schDate.CellAttributes %>><span class="ewSearchOpr">>=<input type="hidden" name="z_schDate" id="z_schDate" value=">=" /></span></td>
<td<%= tblSchedule.schDate.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_schDate" id="x_schDate" value="<%= tblSchedule.schDate.EditValue %>"<%= tblSchedule.schDate.EditAttributes %> />
<img src="images/calendar.png" id="cal_x_schDate" name="cal_x_schDate" alt="Pick a date" style="cursor:pointer;cursor:hand;" />
<script type="text/javascript">
Calendar.setup({
inputField : "x_schDate", // ID of the input field
ifFormat : "%m/%d/%Y", // the date format
button : "cal_x_schDate" // ID of the button
});
</script>
</span></td>
<td><span class="ewSearchOpr" id="btw0_schDate" name="btw0_schDate"><label><input type="radio" name="v_schDate" id="v_schDate" value="AND"<% If tblSchedule.schDate.AdvancedSearch.SearchCondition <> "OR" Then Response.Write(" checked=""checked""") %> />and</label> <label><input type="radio" name="v_schDate" id="v_schDate" value="OR"<% If tblSchedule.schDate.AdvancedSearch.SearchCondition = "OR" Then Response.Write(" checked=""checked""") %> />or </label></span></td>
<td><span class="ewSearchOpr" id="btw0_schDate" name="btw0_schDate" ><=<input type="hidden" name="w_schDate" id="w_schDate" value="<=" /></span></td>
<td><span class="aspnetmaker">
<input type="text" name="y_schDate" id="y_schDate" value="<%= tblSchedule.schDate.EditValue2 %>"<%= tblSchedule.schDate.EditAttributes %> />
<img src="images/calendar.png" id="cal_y_schDate" name="cal_y_schDate" alt="Pick a date" style="cursor:pointer;cursor:hand;" />
<script type="text/javascript">
Calendar.setup({
inputField : "y_schDate", // ID of the input field
ifFormat : "%m/%d/%Y", // the date format
button : "cal_y_schDate" // ID of the button
});
</script>
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schEvtID.RowAttributes %>>
<td class="ewTableHeader">Event</td>
<td<%= tblSchedule.schEvtID.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schEvtID" id="z_schEvtID" value="=" /></span></td>
<td<%= tblSchedule.schEvtID.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<select id="x_schEvtID" name="x_schEvtID"<%= tblSchedule.schEvtID.EditAttributes %>>
<%
emptywrk = True
If ew_IsArrayList(tblSchedule.schEvtID.EditValue) Then
arwrk = tblSchedule.schEvtID.EditValue
For rowcntwrk As Integer = 0 To arwrk.Count - 1
If ew_SameStr(arwrk(rowcntwrk)(0), tblSchedule.schEvtID.AdvancedSearch.SearchValue) Then
selwrk = " selected=""selected"""
emptywrk = False
Else
selwrk = ""
End If
%>
<option value="<%= ew_HtmlEncode(arwrk(rowcntwrk)(0)) %>"<%= selwrk %>>
<%= arwrk(rowcntwrk)(1) %>
</option>
<%
Next
End If
%>
</select>
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schPartsID.RowAttributes %>>
<td class="ewTableHeader">Part</td>
<td<%= tblSchedule.schPartsID.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schPartsID" id="z_schPartsID" value="=" /></span></td>
<td<%= tblSchedule.schPartsID.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<select id="x_schPartsID" name="x_schPartsID"<%= tblSchedule.schPartsID.EditAttributes %>>
<%
emptywrk = True
If ew_IsArrayList(tblSchedule.schPartsID.EditValue) Then
arwrk = tblSchedule.schPartsID.EditValue
For rowcntwrk As Integer = 0 To arwrk.Count - 1
If ew_SameStr(arwrk(rowcntwrk)(0), tblSchedule.schPartsID.AdvancedSearch.SearchValue) Then
selwrk = " selected=""selected"""
emptywrk = False
Else
selwrk = ""
End If
%>
<option value="<%= ew_HtmlEncode(arwrk(rowcntwrk)(0)) %>"<%= selwrk %>>
<%= arwrk(rowcntwrk)(1) %>
</option>
<%
Next
End If
%>
</select>
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schCallTime.RowAttributes %>>
<td class="ewTableHeader">Call Time</td>
<td<%= tblSchedule.schCallTime.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schCallTime" id="z_schCallTime" value="=" /></span></td>
<td<%= tblSchedule.schCallTime.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_schCallTime" id="x_schCallTime" value="<%= tblSchedule.schCallTime.EditValue %>"<%= tblSchedule.schCallTime.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schStartTime.RowAttributes %>>
<td class="ewTableHeader">Start Time</td>
<td<%= tblSchedule.schStartTime.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schStartTime" id="z_schStartTime" value="=" /></span></td>
<td<%= tblSchedule.schStartTime.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_schStartTime" id="x_schStartTime" value="<%= tblSchedule.schStartTime.EditValue %>"<%= tblSchedule.schStartTime.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schEndTime.RowAttributes %>>
<td class="ewTableHeader">End Time</td>
<td<%= tblSchedule.schEndTime.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schEndTime" id="z_schEndTime" value="=" /></span></td>
<td<%= tblSchedule.schEndTime.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_schEndTime" id="x_schEndTime" value="<%= tblSchedule.schEndTime.EditValue %>"<%= tblSchedule.schEndTime.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schOutTime.RowAttributes %>>
<td class="ewTableHeader">Out Time</td>
<td<%= tblSchedule.schOutTime.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schOutTime" id="z_schOutTime" value="=" /></span></td>
<td<%= tblSchedule.schOutTime.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_schOutTime" id="x_schOutTime" value="<%= tblSchedule.schOutTime.EditValue %>"<%= tblSchedule.schOutTime.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schLocID.RowAttributes %>>
<td class="ewTableHeader">Location</td>
<td<%= tblSchedule.schLocID.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schLocID" id="z_schLocID" value="=" /></span></td>
<td<%= tblSchedule.schLocID.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<select id="x_schLocID" name="x_schLocID"<%= tblSchedule.schLocID.EditAttributes %>>
<%
emptywrk = True
If ew_IsArrayList(tblSchedule.schLocID.EditValue) Then
arwrk = tblSchedule.schLocID.EditValue
For rowcntwrk As Integer = 0 To arwrk.Count - 1
If ew_SameStr(arwrk(rowcntwrk)(0), tblSchedule.schLocID.AdvancedSearch.SearchValue) Then
selwrk = " selected=""selected"""
emptywrk = False
Else
selwrk = ""
End If
%>
<option value="<%= ew_HtmlEncode(arwrk(rowcntwrk)(0)) %>"<%= selwrk %>>
<%= arwrk(rowcntwrk)(1) %>
</option>
<%
Next
End If
%>
</select>
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schEmpID.RowAttributes %>>
<td class="ewTableHeader">Employee</td>
<td<%= tblSchedule.schEmpID.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schEmpID" id="z_schEmpID" value="=" /></span></td>
<td<%= tblSchedule.schEmpID.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<% If Not Security.IsAdmin And Security.IsLoggedIn() Then ' Non system admin %>
<div<%= tblSchedule.schEmpID.ViewAttributes %>><%= tblSchedule.schEmpID.EditValue %></div>
<input type="hidden" name="x_schEmpID" id="x_schEmpID" value="<%= ew_HTMLEncode(tblSchedule.schEmpID.AdvancedSearch.SearchValue) %>" />
<% Else %>
<select id="x_schEmpID" name="x_schEmpID"<%= tblSchedule.schEmpID.EditAttributes %>>
<%
emptywrk = True
If ew_IsArrayList(tblSchedule.schEmpID.EditValue) Then
arwrk = tblSchedule.schEmpID.EditValue
For rowcntwrk As Integer = 0 To arwrk.Count - 1
If ew_SameStr(arwrk(rowcntwrk)(0), tblSchedule.schEmpID.AdvancedSearch.SearchValue) Then
selwrk = " selected=""selected"""
emptywrk = False
Else
selwrk = ""
End If
%>
<option value="<%= ew_HtmlEncode(arwrk(rowcntwrk)(0)) %>"<%= selwrk %>>
<%= arwrk(rowcntwrk)(1) %>
</option>
<%
Next
End If
%>
</select>
<% End If %>
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schPosID.RowAttributes %>>
<td class="ewTableHeader">Position</td>
<td<%= tblSchedule.schPosID.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schPosID" id="z_schPosID" value="=" /></span></td>
<td<%= tblSchedule.schPosID.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<select id="x_schPosID" name="x_schPosID"<%= tblSchedule.schPosID.EditAttributes %>>
<%
emptywrk = True
If ew_IsArrayList(tblSchedule.schPosID.EditValue) Then
arwrk = tblSchedule.schPosID.EditValue
For rowcntwrk As Integer = 0 To arwrk.Count - 1
If ew_SameStr(arwrk(rowcntwrk)(0), tblSchedule.schPosID.AdvancedSearch.SearchValue) Then
selwrk = " selected=""selected"""
emptywrk = False
Else
selwrk = ""
End If
%>
<option value="<%= ew_HtmlEncode(arwrk(rowcntwrk)(0)) %>"<%= selwrk %>>
<%= arwrk(rowcntwrk)(1) %>
</option>
<%
Next
End If
%>
</select>
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schTypID.RowAttributes %>>
<td class="ewTableHeader">Type</td>
<td<%= tblSchedule.schTypID.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schTypID" id="z_schTypID" value="=" /></span></td>
<td<%= tblSchedule.schTypID.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<select id="x_schTypID" name="x_schTypID"<%= tblSchedule.schTypID.EditAttributes %>>
<%
emptywrk = True
If ew_IsArrayList(tblSchedule.schTypID.EditValue) Then
arwrk = tblSchedule.schTypID.EditValue
For rowcntwrk As Integer = 0 To arwrk.Count - 1
If ew_SameStr(arwrk(rowcntwrk)(0), tblSchedule.schTypID.AdvancedSearch.SearchValue) Then
selwrk = " selected=""selected"""
emptywrk = False
Else
selwrk = ""
End If
%>
<option value="<%= ew_HtmlEncode(arwrk(rowcntwrk)(0)) %>"<%= selwrk %>>
<%= arwrk(rowcntwrk)(1) %>
</option>
<%
Next
End If
%>
</select>
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schDepID.RowAttributes %>>
<td class="ewTableHeader">Department</td>
<td<%= tblSchedule.schDepID.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schDepID" id="z_schDepID" value="=" /></span></td>
<td<%= tblSchedule.schDepID.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<select id="x_schDepID" name="x_schDepID"<%= tblSchedule.schDepID.EditAttributes %>>
<%
emptywrk = True
If ew_IsArrayList(tblSchedule.schDepID.EditValue) Then
arwrk = tblSchedule.schDepID.EditValue
For rowcntwrk As Integer = 0 To arwrk.Count - 1
If ew_SameStr(arwrk(rowcntwrk)(0), tblSchedule.schDepID.AdvancedSearch.SearchValue) Then
selwrk = " selected=""selected"""
emptywrk = False
Else
selwrk = ""
End If
%>
<option value="<%= ew_HtmlEncode(arwrk(rowcntwrk)(0)) %>"<%= selwrk %>>
<%= arwrk(rowcntwrk)(1) %>
</option>
<%
Next
End If
%>
</select>
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schNotes.RowAttributes %>>
<td class="ewTableHeader">Notes</td>
<td<%= tblSchedule.schNotes.CellAttributes %>><span class="ewSearchOpr">contains<input type="hidden" name="z_schNotes" id="z_schNotes" value="LIKE" /></span></td>
<td<%= tblSchedule.schNotes.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<textarea name="x_schNotes" id="x_schNotes" cols="35" rows="4"<%= tblSchedule.schNotes.EditAttributes %>><%= tblSchedule.schNotes.EditValue %></textarea>
</span></td>
</tr></table>
</td>
</tr>
<% If (Session("tfpssnet_Status_UserName") = "kirkm" Or Session("tfpssnet_Status_UserName") = "admin") Then ' schRate %>
<tr<%= tblSchedule.schRate.RowAttributes %>>
<td class="ewTableHeader">Rate</td>
<td<%= tblSchedule.schRate.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schRate" id="z_schRate" value="=" /></span></td>
<td<%= tblSchedule.schRate.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_schRate" id="x_schRate" size="30" value="<%= tblSchedule.schRate.EditValue %>"<%= tblSchedule.schRate.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<% End If%>
<tr<%= tblSchedule.schActualStart.RowAttributes %>>
<td class="ewTableHeader">Actual Start</td>
<td<%= tblSchedule.schActualStart.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schActualStart" id="z_schActualStart" value="=" /></span></td>
<td<%= tblSchedule.schActualStart.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_schActualStart" id="x_schActualStart" value="<%= tblSchedule.schActualStart.EditValue %>"<%= tblSchedule.schActualStart.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schActualEnd.RowAttributes %>>
<td class="ewTableHeader">Actual End</td>
<td<%= tblSchedule.schActualEnd.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schActualEnd" id="z_schActualEnd" value="=" /></span></td>
<td<%= tblSchedule.schActualEnd.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_schActualEnd" id="x_schActualEnd" value="<%= tblSchedule.schActualEnd.EditValue %>"<%= tblSchedule.schActualEnd.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblSchedule.schDateCreated.RowAttributes %>>
<td class="ewTableHeader">Date Created</td>
<td<%= tblSchedule.schDateCreated.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schDateCreated" id="z_schDateCreated" value="=" /></span></td>
<td<%= tblSchedule.schDateCreated.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_schDateCreated" id="x_schDateCreated" value="<%= tblSchedule.schDateCreated.EditValue %>"<%= tblSchedule.schDateCreated.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<%-- <tr<%= tblSchedule.schDoubleBooked.RowAttributes %>>
<td class="ewTableHeader">Dbl Bkd</td>
<td<%= tblSchedule.schDoubleBooked.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schDoubleBooked" id="z_schDoubleBooked" value="=" /></span></td>
<td<%= tblSchedule.schDoubleBooked.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<%
If ew_SameStr(tblSchedule.schDoubleBooked.AdvancedSearch.SearchValue, "1") Then
selwrk = " checked=""checked"""
Else
selwrk = ""
End If
%>
<input type="checkbox" name="x_schDoubleBooked" id="x_schDoubleBooked" value="1"<%= selwrk %><%= tblSchedule.schDoubleBooked.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
--%>
<tr<%= tblSchedule.schStatus.RowAttributes %>>
<td class="ewTableHeader">Status</td>
<td<%= tblSchedule.schStatus.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_schStatus" id="z_schStatus" value="=" /></span></td>
<td<%= tblSchedule.schStatus.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<select id="x_schStatus" name="x_schStatus"<%= tblSchedule.schStatus.EditAttributes %>>
<%
emptywrk = True
If ew_IsArrayList(tblSchedule.schStatus.EditValue) Then
arwrk = tblSchedule.schStatus.EditValue
For rowcntwrk As Integer = 0 To arwrk.Count - 1
If ew_SameStr(arwrk(rowcntwrk)(0), tblSchedule.schStatus.AdvancedSearch.SearchValue) Then
selwrk = " selected=""selected"""
emptywrk = False
Else
selwrk = ""
End If
%>
<option value="<%= ew_HtmlEncode(arwrk(rowcntwrk)(0)) %>"<%= selwrk %>>
<%= arwrk(rowcntwrk)(1) %>
</option>
<%
Next
End If
%>
</select>
</span></td>
</tr></table>
</td>
</tr>
</table>
</div>
</td></tr></table>
<p />
<input type="submit" name="Action" id="Action" value=" Search " />
<input type="button" name="Reset" id="Reset" value=" Reset " onclick="ew_ClearForm(this.form);" />
</form>
<script language="JavaScript" type="text/javascript">
<!--
// Write your table-specific startup script here
// document.write("page loaded");
//-->
</script>
</asp:Content>