<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="bidserch.aspx.cs" Inherits="Web.cg.show.bidserch" %>

<!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 id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
    <script type="text/javascript" src="../../css/popcalendar.js"></script>
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
        
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
        <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    招标查询
                     </td>

                </tr>
            </table>
            <div id="main-c-03-right02-main">
              <table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%; margin-top :20px">
            <tr>
                <td class ="tabletd_right " style ="width :80px">
                                        项目名称</td>
                <td class ="tabletd_left ">
                                            <asp:TextBox ID="tbName" runat="server"></asp:TextBox>
                </td>
                <td class ="tabletd_right " style ="width :80px">
                    代理公司</td>
                <td class ="tabletd_left ">
                    <asp:DropDownList ID="ddlBidagent" runat="server">
                    </asp:DropDownList>
                                            </td>
                <td class ="tabletd_right "  style ="width :80px">
                    处理状态</td>
                <td class ="tabletd_left ">
                    <asp:DropDownList ID="ddlState" runat="server">
                        <asp:ListItem Selected="True">所有</asp:ListItem>
                        <asp:ListItem>编辑</asp:ListItem>
                        <asp:ListItem>完成</asp:ListItem>
                        <asp:ListItem>签合同</asp:ListItem>
                    </asp:DropDownList>
                                            </td>
                <td class ="tabletd_right"  style ="width :80px">
                    申请日期</td>
                <td class ="tabletd_left ">
                   <div style ="text-align :left ">
                <asp:textbox id="date1" runat="server" Width="100px"  
              ToolTip="点击输入框右侧的日期图标选择日期" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
                                 
                &nbsp;&nbsp;- <asp:textbox id="date2" runat="server" Width="100px"    
              ToolTip="点击输入框右侧的日期图标选择日期" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
                                                          
          &nbsp;&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                  runat="server" ControlToValidate="date1" Display="Dynamic" 
                  ErrorMessage="起始日期必填！" ValidationGroup="cha" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="终止日期必填！" 
                          ValidationGroup="cha" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                  ControlToValidate="date1" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="cha" 
                  ForeColor="Red"></asp:RegularExpressionValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="cha" 
                  ForeColor="Red"></asp:RegularExpressionValidator></div></td>
            </tr>
            <tr>
                <td class ="tabletd_center " colspan="8">
                    <asp:Button ID="btQuery2" runat="server" onclick="btnQuery2_Click" 
                  Text="提交查询" ValidationGroup="cha" />
          
                </td>
            </tr>
            </table>

  <asp:Panel ID="plZong" runat="server" Visible="true">   
<!--栏目开始 -->
            
            <!--这里添加内容 -->

		<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" onrowdatabound="GridView1_RowDataBound" 
                            
          onselectedindexchanging="GridView1_SelectedIndexChanging" Width="100%">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                                 <asp:TemplateField HeaderText="项目名称" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# bind("bidnoticetitle") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                              <asp:BoundField DataField="bidid" HeaderText="招标单号" ReadOnly="True" />
                              <asp:BoundField DataField="bidagent" HeaderText="代理公司" ReadOnly="True" />
                              <asp:BoundField DataField="contacts" HeaderText="联系人" ReadOnly="True" />
                              <asp:BoundField DataField="bidnoticeid" HeaderText="招标文号" ReadOnly="True" />
                              <asp:BoundField DataField="bidweb" HeaderText="发布网站" ReadOnly="True" />
                              <asp:BoundField DataField="biddatestar" HeaderText="挂网时间" ReadOnly="True" />
                              <asp:BoundField DataField="bidopendate" HeaderText="开标时间" ReadOnly="True" />
                              <asp:BoundField DataField="winbidnoticeid" HeaderText="中标通知书" ReadOnly="True" />
                              <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
         <table border="0" cellpadding="4" cellspacing="1"  style ="width :100% ; text-align :right ">
        <tr><td  id ="allowpage" runat ="server" 
                style ="text-align :right ;  padding-right  :5px" colspan="2">&nbsp;</td></tr>
      
        </table> 
<asp:Panel ID="Panel1" runat="server" Visible="False">

<table border="0"  class ="tablezong"  cellpadding="0" cellspacing="0" >
      <tr>
        <td   style ="text-align :left; padding :10px 10px 10px 10px ">

        <table  style =" width :100%" border = "1" class ="table " cellpadding ="0" cellspacing ="0">
                <tr>
                    <td style ="width:80px"  class ="tabletd_right ">
                        招标编号</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbBidid" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td  class ="tabletd_right ">
                        公告标题</td>
                    <td class ="tabletd_left ">
                     <asp:Label ID="lbTitle" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        类别</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbCategories" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        招标代理</td>
                    <td class="tabletd_left ">
                       <asp:Label  ID="lbBidagent" runat="server" ></asp:Label>
                        &nbsp;
                        <asp:Label ID="lbContacts" runat="server"></asp:Label>
                        &nbsp;
                        <asp:Label ID="lbBidagenttel" runat="server"></asp:Label>
                        &nbsp;
                        <asp:Label ID="lbBidagentemail" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td   class ="tabletd_right ">
                        公告文号</td>
                    <td  class="tabletd_left ">
                        <asp:Label ID="lbBidnoticeid" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right " >
                        公告内容</td>
                    <td class ="tabletd_left ">
                          <div id ="viewneirong" runat ="server"  style ="width :700px; padding :5px 5px 5px 5px"  ></div>
                          <div>             <asp:Label ID="lbFujian" runat="server" Text="附件："></asp:Label>
                        <asp:BulletedList ID="blFujian" runat="server" DisplayMode="LinkButton"  
                                  onclick="blFujian_Click"></asp:BulletedList></div>
                   </td>
                </tr>
                    <tr>
                    <td class ="tabletd_right ">
                        发布网站</td>
                    <td class ="tabletd_left ">
                       <asp:Label ID="lbBidweb" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        挂网时间</td>
                    <td class ="tabletd_left ">
                             <asp:Label ID="lbBiddatestar" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        开标时间</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbBidopendate" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        中标公告文号</td>
                    <td class ="tabletd_left ">
                       <asp:Label ID="lbWinbidnoticeid" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        中标单位</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbWinbider" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        中标价格</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbWinbidprice" runat="server"></asp:Label>
                        万元</td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        中标公告</td>
                    <td class ="tabletd_left ">
                         <div id ="Winbidnotice" runat ="server"  style ="width :700px; padding :5px 5px 5px 5px"  ></div>
                         <div>         <asp:Label ID="lbWinbidnotice" runat="server" Text="中标通知书："></asp:Label>
                        <asp:BulletedList ID="blWinbidnotice" runat="server" DisplayMode="LinkButton"  
                                 onclick="blWinbidnotice_Click"></asp:BulletedList></div>
                          </td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        公告结束时间</td>
                    <td class ="tabletd_left ">
                      <asp:Label ID="lbWinbiddateend" runat="server"></asp:Label>
                        </td>
                </tr>

                <tr>
                    <td class ="tabletd_right ">
                        状态</td>
                    <td class ="tabletd_left ">
                     <asp:Label ID="lbState" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td class="tabletd_right ">
                        录入人</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbManager" runat="server"></asp:Label>
                        <asp:Label ID="lbManagername" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td class="tabletd_right ">
                        录入时间</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbManagertime" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td class="tabletd_right ">
                        &nbsp;</td>
                    <td class="tabletd_left ">
                        <asp:Button ID="btBack" runat="server" onclick="btBack_Click" Text="返回" />
                    </td>
                </tr>

                </table>

</td>
      </tr>
    </table>





                        
 
                         </asp:Panel> 
<!--栏目结束 -->
</asp:Panel> 
            </div>
            </div> 
        </form>
    </body>
</html>


