<%@ page language="C#" autoeventwireup="true" inherits="Shop_Credit_identify_company, HoWaveVGO" enableEventValidation="false" %>
<html>
<body>
<form id="form_1" runat="server">
<asp:Literal ID="UserName" runat="server" />
<asp:TextBox ID="CompanyName" runat="server" Width="160px" MaxLength="50"/>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="CompanyName"
                ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic"/>
<asp:RadioButtonList ID="CompanyType" runat="server" RepeatDirection="vertical" RepeatLayout="Flow">
           <asp:ListItem Selected="True" Value="0">生产</asp:ListItem>
           <asp:ListItem Value="0">零售</asp:ListItem>
           <asp:ListItem Value="0">经销商、批发商、品牌代理商</asp:ListItem>
           <asp:ListItem Value="0">互联网BTOC网站</asp:ListItem>
           <asp:ListItem Value="0">其他CTOC平台开店商户</asp:ListItem>
 </asp:RadioButtonList>

<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"/>
<div style="float:left;">
<asp:DropDownList ID="Province" runat="server" AutoPostBack="True" DataSourceID="ObjectDataSource1" DataTextField="Province" DataValueField="Province" AppendDataBoundItems="True" Width="80px">
    <asp:ListItem Selected="True" Value="" Text="请选择"/>
</asp:DropDownList>省
</div>
<div style="float:left;">
<asp:UpdatePanel    ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:DropDownList ID="City" runat="server" DataSourceID="ObjectDataSource2" DataTextField="City" DataValueField="City" Width="80px" ><asp:ListItem Selected="True" Value="" Text=""/></asp:DropDownList>市
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="Province" EventName="SelectedIndexChanged" />
    </Triggers>
</asp:UpdatePanel>
</div>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllProvince"
    TypeName="Shop_City" />
<asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetCity"
    TypeName="Shop_City" >
    <SelectParameters>
        <asp:ControlParameter ControlID="Province" DefaultValue=" " Name="Province"
            PropertyName="SelectedValue" Type="String" />
    </SelectParameters>
</asp:ObjectDataSource>

<asp:TextBox ID="CompanyAddrss" runat="server" />

<asp:TextBox ID="LienceName" runat="server"  Width="160px"/>
<asp:RequiredFieldValidator ID="rfv7" runat="server" ControlToValidate="LienceName"
    ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic" Style="display:inline;"/>
<asp:TextBox ID="CompanyRange" runat="server"  TextMode="MultiLine" Height="100px" Width="95%"/>
<asp:RequiredFieldValidator ID="rfv6" runat="server" ControlToValidate="CompanyRange"
     ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic" Style="display:inline;"/>
<asp:TextBox ID="LienceNum" runat="server" Width="160px" MaxLength="50"/>
<asp:RequiredFieldValidator ID="rfv2" runat="server" ControlToValidate="LienceNum"
     ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic" Style="display:inline;"/>
<asp:TextBox ID="ContacterName" runat="server" Width="160px" MaxLength="50"/>
<asp:RequiredFieldValidator ID="rfv1" runat="server" ControlToValidate="ContacterName"
     ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic"/>
<asp:TextBox ID="ContacterIDNum" runat="server" Width="160px" MaxLength="18"/>
<asp:RegularExpressionValidator ID="rev9" runat="server" ErrorMessage="身份证填写不正确"
             ValidationExpression="\d{17}[\d|X]|\d{15}"  ControlToValidate="ContacterIDNum" CssClass="tips_wrong" Display="Dynamic"/>
<asp:RequiredFieldValidator ID="rfv4" runat="server" ControlToValidate="ContacterIDNum"
     ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic"/>
<asp:TextBox ID="ContacterPhone" runat="server" Width="160px" MaxLength="20"/>
<asp:RequiredFieldValidator ID="rfv5" runat="server" ControlToValidate="ContacterPhone"
     ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic"/>
<asp:RegularExpressionValidator ID="rev10" runat="server" ErrorMessage="电话号码格式不正确"
             ValidationExpression="\d{3,4}-\d{7,9}(-\d{1,5})?"  ControlToValidate="ContacterPhone" CssClass="tips_wrong" Display="Dynamic"/>     
<asp:TextBox ID="ContacterMobilePhone" runat="server" Width="160px" MaxLength="11"/>
<asp:RegularExpressionValidator ID="rex1" runat="server" ControlToValidate="ContacterMobilePhone"
      ErrorMessage="11位数字号码" ValidationExpression="\d{11}" CssClass="tips_wrong" Display="Dynamic"/>
     
<asp:TextBox ID="Email" runat="server" Width="160px"/>
<asp:RegularExpressionValidator ID="EmailReq"  ControlToValidate="Email" runat="server" ErrorMessage="输入邮箱格式不正确" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="dynamic" CssClass="tips_wrong"/>
<asp:TextBox ID="Fax" runat="server" Width="160px" />
<asp:Label ID="UploadPanel" runat="server" >
  <asp:FileUpload ID="FileUpload1" runat="server" /><asp:HiddenField ID="UploadPicPath" runat="server" />&nbsp;<asp:Button ID="UpLoadButton" runat="server" Text="上传" Visible="false"  />&nbsp;<asp:Label ID="UploadPicMsg" runat="server" Visible="false" ></asp:Label>
</asp:Label>
<asp:Image ID="IDPhoto" runat="server" Width="100" Height="90" />
<asp:Label ID="err_tips" runat="server" Width="98%" />
<asp:Button ID="SaveInfo" runat="server"  Text="确认无误，将不可修改，提交>>" OnClick="SaveInfo_Click"  />
</form>
</body>
</html>
