home *** CD-ROM | disk | FTP | other *** search
- <%@ page language="VB" autoeventwireup="false" inherits="CarCode, App_Web_jhv1ggsm" %>
- <%@ OutputCache VaryByParam="CarCode" Duration="86400" Location="Server" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>ตารางข้อมูลรหัสรถ</title>
- <script type="text/javascript">
- function setMouseOverColor(element) {
- oldgridSelectedColor = element.style.backgroundColor;
- element.style.backgroundColor = 'yellow';
- element.style.cursor = 'hand';
- element.style.textDecoration = 'underline';
- }
-
- function setMouseOutColor(element) {
- element.style.backgroundColor = oldgridSelectedColor;
- element.style.textDecoration = 'none';
- }
- function selectValue(value,value1,value2,value3,value4) {
- window.returnValue = value + "$" + value1 + "$" + value2 + "$" + value3 + "$" + value4;
- window.close();
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server" enableviewstate="False">
- <div>
- <asp:GridView ID="grvCarCode" runat="server" Width="100%"
- AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333"
- GridLines="None" >
- <RowStyle BackColor="#EFF3FB" />
- <Columns>
- <asp:BoundField DataField="TextField" HeaderText="รหัสรถ" />
- <asp:BoundField DataField="TextField2" HeaderText="ประเภทรถ" />
- <asp:BoundField DataField="TextField3" HeaderText="แบบตัวถัง" />
- <asp:BoundField DataField="TextField4" HeaderText="ที่นั่ง" />
- <asp:BoundField DataField="TextField5" HeaderText="น้ำหนัก" />
- </Columns>
- <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
- <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
- <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
- <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
- <EditRowStyle BackColor="#2461BF" />
- <AlternatingRowStyle BackColor="White" />
- </asp:GridView>
- </div>
- </form>
- </body>
- </html>
-