<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Startpage.aspx.cs" Inherits="Start" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
<form id="form1" runat="server">
<div>
<table id="TABLE1" style="position: static; background-image: none; width: 300px; height: 300px; background-color: ghostwhite;" onclick="return TABLE1_onclick()" title="Busness Proccess Tender" width="500">
<tr>
<td style="width: 150px; height: 20px">
<asp:Label ID="Label1" runat="server" Style="position: static;" Text="Member name"></asp:Label></td>
<td style="height: 20px">
<asp:TextBox ID="UName" runat="server" Style="position: static;" ToolTip="Enter your UserName here"></asp:TextBox></td>
<td rowspan="4" style="width: 150px; height: 200px;">
<div style="height:285px;overflow:auto; width: 297px;">
<asp:GridView ID="GridView1" runat="server" AllowPaging="False" AutoGenerateColumns="False"
DataSourceID="AccessDataSource1" Style="position: static; overflow:auto;" Height="200px" Width="280px" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" AllowSorting="True">
<Columns>
<asp:TemplateField HeaderText="Tender" SortExpression="TName">
<EditItemTemplate>
<asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("TName") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# Bind("TName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Time left" SortExpression="TTime">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("TTime") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("TTime") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Leader" SortExpression="TPLead">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("TPLead") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("TPLead") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Publisher" SortExpression="TPublisher">
<EditItemTemplate>
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("TPublisher") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("TPublisher") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<RowStyle BackColor="White" ForeColor="#003399" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
<HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
</asp:GridView>
</div></td>
</tr>
<tr>
<td style="width: 139px;">
<asp:Label ID="Label2" runat="server" Style="position: static;" Text="Password"></asp:Label></td>
<td>
<asp:TextBox ID="Pass" runat="server" Style="position: static;" TextMode="Password" ToolTip="Enter your Password here, and keep him in secret"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 139px;">
<asp:Button ID="LoginBox" runat="server" OnClick="LoginBox_Click" Style="position: static;" Text="Login" Height="25px" Width="150px" ToolTip="Login to system" /></td>
<td>
<asp:Button ID="NewUserBox" runat="server" OnClick="NewUserBox_Click" Style="position: static;" Text="Register new member" Height="25px" Width="150px" ToolTip="Registration of new Member to BPTender System" /></td>
</tr>
<tr>
<td colspan="2" style="height: 20px">
<asp:CheckBox ID="CheckBoxCooky" runat="server" Style="left: 15px;
position: static; top: -31px" Text="Remember member" ToolTip="The system remember this UserName and connect automaticly" />
<asp:Label ID="Label3" runat="server" Style="position: static;" Text="Wrong user name or password" Visible="False" ForeColor="Red"></asp:Label></td>
</tr>
</table>
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/WorkDataBase.mdb"
SelectCommand="SELECT [TName], [TTime], [TPLead], [TPublisher] FROM [Tenders] WHERE ([Locked] = 0) ORDER BY [TID], [TName]">
</asp:AccessDataSource>
</div>
</form>
</asp:Content> |