<%@ Page Title="名师绑定" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeBehind="KS.TCBingUser.aspx.cs" Inherits="Kesion.NET.WebSite.Course.Admin_Course_KS_TeacherBingUser" %>
<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.BLL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" runat="server">
     <script>
         function searchUser() {

             var url = 'KS.TCBingUser.aspx';
             jQuery.get(url, { action: "SearchUser", key: jQuery("#key").val() }, function (s) {
                 jQuery("#<%=this.LstB2.ClientID %>").append(s);
             });

         }
     
      
    </script>
     <table width="100%"  border="0" cellpadding="1" cellspacing="1" class="CTable"> 
   

       
   <tr>
        <td align="right" class="lefttd" height="30" ><strong>教师ID：</strong></td>
         <td class="auto-style1" >
             <%=dr["TcID"].ToString() %>
        </td>
     </tr>
         
     <tr>
        <td align="right" class="auto-style1" ><strong>教师姓名：</strong></td>
         <td class="auto-style1"><%=dr["TName"].ToString() %> </td>
     </tr>   
     <tr style="display:none">
        <td align="right" class="lefttd" height="30" ><strong>用户名：</strong></td>
         <td class="auto-style1">
             
          关键字：<input type="text" class="textbox" name="key" id="key" size="15" size="15" style="width: 120px" />
                  <input type="button" value="搜索用户" class="button" onclick="searchUser();" />
                               
              <asp:ListBox ID="LstB2" runat="server" Width="300px" Height="200px" ></asp:ListBox>
                
           

         </td>
     </tr>
       <tr>
        <td align="right" class="auto-style1" ><strong>用户名：</strong></td>
         <td class="auto-style1"><asp:TextBox ID="TxtUserName" CssClass="textbox" runat="server"></asp:TextBox> 


         </td>
     </tr>    


  </table>
     <div style="clear:both;text-align:center"><br />
           <asp:Button ID="Button1" runat="server" Text="确定绑定"  CssClass="button" OnClick="Button1_Click"/>
        </div>
</asp:Content>
