<%@ Page Language="C#" MasterPageFile="~/Master/officeMaster.master" AutoEventWireup="true" CodeFile="WebInfo.aspx.cs" Inherits="Company_WebInfo" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script language="javascript" type="text/javascript">
        function CheckEmpty(){
            var webName=document.getElementById("txtWebName");  
            if(webName.value==''){
                alert('网站名称不能为空！');
                webName.focus();
                return false;
            } 
            return true;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <table class="usertableborder" cellspacing="1"  cellpadding="3" width="100%" align="center" >
                <tr><th align="center">网站信息</th></tr>
     </table>
     <br />
     <table class="usertableborder" cellspacing="1"  cellpadding="3" width="100%" align="center" >
                <%--<tr><td>公司名称：</td><td><asp:TextBox ID="txtCompanyName" runat="server" Width="483px"></asp:TextBox></td></tr>--%>
                <tr><td width="45%" class="alignright">公司Logo：</td><td><img src="~/App_Themes/image/nopic.gif" alt="" id="imgLogos" runat="server" style="width:50px;height:50px;" /><asp:FileUpload ID="fuImg" runat="server" /></td></tr>
                <tr><td class="alignright">网站名称：</td><td><asp:TextBox ID="txtWebName" runat="server" Width="480px"></asp:TextBox></td></tr>
                <%--<tr><td>网站描述：</td><td><asp:TextBox ID="txtWebDescribe" runat="server" Height="121px" 
                                    TextMode="MultiLine" Width="484px"></asp:TextBox></td></tr>--%>
                <tr>
                    <td colspan="2" align="center" >
                        <asp:Button ID="btnUpdate" runat="server" Text="修改" onclick="btnUpdate_Click" OnClientClick="return CheckEmpty();" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button1" runat="server" Text="取消" onclick="btnCancel_Click" />
                    </td>
                </tr>
    </table>
</asp:Content>

