<%@ page language="C#" autoeventwireup="true" inherits="SystemManagement_Default, App_Web_xpyiwnev" %>

<!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>
     <link href="../CssHtml1.css" rel="stylesheet" type="text/css" />
     <style type ="text/css"> 
                .mycss   table   tr   td   table   tr   td   span   {   color:red;   } 
        </style>  
</head>
<body style="font-size: 9pt">
    <form id="form1" runat="server"  enctype ="multipart/form-data" method="post">
        
       
    <div>
        <div style="width:100%; ">
         <table style="width: 100%; border-bottom: #0099cc 1px solid;" cellpadding="0" cellspacing="0" >
                    <tr style="border-bottom: #1471b0 1px solid">
                        <td style=" text-align: left; width :70%">
                            目前位置：我的邮件 - 内部邮件 - 发送短消息</td>
                      
                
                <td style="width:30%; height: 22px;" align="right">
                    <a href="../OnlineHelp/OnlineHelp.aspx" target ="_blank" > 
                      <img src="../Images/8.gif" alt ="在线帮助" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" /> </a></td>
                    </tr>
                </table>
            <table style="width:100%;">
                <tr>
                    <td colspan="2" rowspan="5" valign="top">
                       
                        
                        <table width =100% style="border-right: #83bbd9 4px solid; border-top: #83bbd9 4px solid; border-left: #83bbd9 4px solid; border-bottom: #83bbd9 4px solid">
                            <tr>
                                <td style="width: 76px" align="center">
                                    收信人：</td>
                                <td>
                                   
                             
                    <asp:TextBox ID="TextBox1" runat="server" Width="415px" style="width:60%" ValidationGroup="wwc" Enabled="False"></asp:TextBox>
                         
                        
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox1"
                            ValidationGroup="wwc">收件人不能为空</asp:RequiredFieldValidator>
                           
                            </td>
                            </tr>
                            <tr>
                                <td style="width: 76px" align="center">
                                    主 &nbsp; &nbsp;题：</td>
                                <td>
                                <asp:TextBox ID="TextBox2" runat="server" Width="413px" style="width:60%" ValidationGroup="wwc"></asp:TextBox>
                        </td>
                            </tr>
                            <tr>
                                <td style="background-color: #83bbd9; " align="center" >
                                    附&nbsp; 件：
                        </td>
                        <td  style="background-color: #83bbd9;" >           
                         
       
                        <asp:FileUpload ID="FileUpload1" runat="server" Width="600px"  />  
          
                   
                        
                        </td>
                            </tr>
                             <tr>
                                <td colspan="2">
                        <asp:TextBox ID="TextBox3" runat="server" TextMode="MultiLine" Height="218px" Width="99%" CausesValidation="True"></asp:TextBox></td>
                            </tr>
                             <tr>
                                <td style="width: 76px">
                        <asp:CheckBox ID="CheckBox1" runat="server" Text="紧急" /></td>
                                <td align="right">
                                    &nbsp;<asp:Label ID="Label2" runat="server" ForeColor="Red" Width="126px"></asp:Label>
                        <asp:Button ID="Button1" runat="server" Text="发  送" OnClick="Button1_Click" ValidationGroup="wwc" />
                       </td>
                            </tr>
                        </table>
                    </td>
                    <td rowspan="5" style="vertical-align:top; width:30%; text-align:center">
                    <div class ="mycss">
                        <asp:GridView ID="GridView1" runat="server" style="text-align:center; width:80%" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" AllowPaging="True" OnDataBound="GridView1_DataBound"  BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="2px" Font-Size="10px" OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="15">
                            <Columns>
                                <asp:BoundField DataField="Uid" HeaderText="Uid" InsertVisible="False" ReadOnly="True"
                                    SortExpression="Uid" Visible="False" />
                                <asp:BoundField DataField="loginId" HeaderText="loginId" SortExpression="loginId"
                                    Visible="False" />
                                <asp:TemplateField HeaderText="联系人"  HeaderStyle-ForeColor=#00568A  SortExpression="Uname">
                                    
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server" Text='<%# Bind("Uname") %>'></asp:Label>
                                    </ItemTemplate>
                                    <HeaderStyle Font-Size="9pt" />
                                    <ItemStyle Width="80%" />
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox2_CheckedChanged" />
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:CheckBox ID="CheckBox3" runat="server" AutoPostBack="True" ValidationGroup='<%# Bind("loginid") %>' OnCheckedChanged="CheckBox3_CheckedChanged" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <HeaderStyle BackColor="#83BBD9" Font-Bold="True" Font-Overline="False" Font-Size="10px"
                                ForeColor="White" />
                        </asp:GridView></div>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server">
                           </asp:SqlDataSource>
                    </td>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
                
            </table>
        </div>
    </div>
  
    </form>
</body>
</html>
