home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
66.142.0.142
/
66.142.0.142.tar
/
66.142.0.142
/
tblFixtureMasterdelete.aspx
< prev
next >
Wrap
Text File
|
2010-08-24
|
4KB
|
118 lines
<%@ Page Language="VB" MasterPageFile="masterpage.master" AutoEventWireup="false" CodeFile="tblFixtureMasterdelete.aspx.vb" Inherits="tblFixtureMasterdelete" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
<!--
// Create page object
var tblFixtureMaster_delete = new ew_Page("tblFixtureMaster_delete");
// page properties
tblFixtureMaster_delete.PageID = "delete"; // page ID
var EW_PAGE_ID = tblFixtureMaster_delete.PageID; // for backward compatibility
<% If EW_CLIENT_VALIDATE Then %>
tblFixtureMaster_delete.ValidateRequired = true; // uses JavaScript validation
<% Else %>
tblFixtureMaster_delete.ValidateRequired = false; // no JavaScript validation
<% End If %>
//-->
</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>
<%
' Load records for display
Rs = tblFixtureMaster_delete.LoadRecordset()
If tblFixtureMaster_delete.lTotalRecs <= 0 Then ' No record found, exit
Rs.Close()
Rs.Dispose()
tblFixtureMaster_delete.Page_Terminate("tblFixtureMasterlist.aspx") ' Return to list
End If
%>
<p><span class="aspnetmaker">Delete From TABLE: Fixture Master<br /><br />
<a href="<%= tblFixtureMaster.ReturnUrl %>">Go Back</a></span></p>
<% tblFixtureMaster_delete.ShowMessage() %>
<form method="post">
<p />
<input type="hidden" name="t" id="t" value="tblFixtureMaster" />
<input type="hidden" name="a_delete" id="a_delete" value="D" />
<% For i As Integer = 0 to tblFixtureMaster_delete.arRecKeys.GetUpperBound(0) %>
<input type="hidden" name="key_m" id="key_m" value="<%= Server.HtmlEncode(Convert.ToString(tblFixtureMaster_delete.arRecKeys(i))) %>" />
<% Next %>
<table class="ewGrid"><tr><td class="ewGridContent">
<div class="ewGridMiddlePanel">
<table cellspacing="0" class="ewTable ewTableSeparate">
<%= tblFixtureMaster.TableCustomInnerHTML %>
<thead>
<tr class="ewTableHeader">
<td valign="top">Manufacturer</td>
<td valign="top">Model / Type</td>
<td valign="top">Serial Number</td>
<td valign="top">Lamp</td>
<td valign="top">Location</td>
<td valign="top">Hang Pos</td>
<td valign="top">Channel</td>
</tr>
</thead>
<tbody>
<%
tblFixtureMaster_delete.lRecCnt = 0
Do While Rs.Read()
tblFixtureMaster_delete.lRecCnt = tblFixtureMaster_delete.lRecCnt + 1
' Set row properties
tblFixtureMaster.CssClass = ""
tblFixtureMaster.CssStyle = ""
tblFixtureMaster.RowType = EW_ROWTYPE_VIEW ' view
' Get the field contents
tblFixtureMaster_delete.LoadRowValues(Rs)
' Render row
tblFixtureMaster_delete.RenderRow()
%>
<tr<%= tblFixtureMaster.RowAttributes %>>
<td<%= tblFixtureMaster.lfxMFG.CellAttributes %>>
<div<%= tblFixtureMaster.lfxMFG.ViewAttributes %>><%= tblFixtureMaster.lfxMFG.ListViewValue %></div>
</td>
<td<%= tblFixtureMaster.lfxModelType.CellAttributes %>>
<div<%= tblFixtureMaster.lfxModelType.ViewAttributes %>><%= tblFixtureMaster.lfxModelType.ListViewValue %></div>
</td>
<td<%= tblFixtureMaster.lfxSerialNumber.CellAttributes %>>
<div<%= tblFixtureMaster.lfxSerialNumber.ViewAttributes %>><%= tblFixtureMaster.lfxSerialNumber.ListViewValue %></div>
</td>
<td<%= tblFixtureMaster.lfxLamp.CellAttributes %>>
<div<%= tblFixtureMaster.lfxLamp.ViewAttributes %>><%= tblFixtureMaster.lfxLamp.ListViewValue %></div>
</td>
<td<%= tblFixtureMaster.lfxLocationID.CellAttributes %>>
<div<%= tblFixtureMaster.lfxLocationID.ViewAttributes %>><%= tblFixtureMaster.lfxLocationID.ListViewValue %></div>
</td>
<td<%= tblFixtureMaster.lfxHangPos.CellAttributes %>>
<div<%= tblFixtureMaster.lfxHangPos.ViewAttributes %>><%= tblFixtureMaster.lfxHangPos.ListViewValue %></div>
</td>
<td<%= tblFixtureMaster.lfxChannel.CellAttributes %>>
<div<%= tblFixtureMaster.lfxChannel.ViewAttributes %>><%= tblFixtureMaster.lfxChannel.ListViewValue %></div>
</td>
</tr>
<%
Loop
Rs.Close()
Rs.Dispose()
%>
</tbody>
</table>
</div>
</td></tr></table>
<p />
<input type="submit" name="Action" id="Action" value="Confirm Delete" />
</form>
<script language="JavaScript" type="text/javascript">
<!--
// Write your table-specific startup script here
// document.write("page loaded");
//-->
</script>
</asp:Content>