RoleUser.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:1k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="RoleUser.aspx.cs" Inherits="Manage_queryuser" Title="角色分配" %>
  2. <asp:Content ID="Content1" ContentPlaceHolderID="main" Runat="Server">
  3.     <asp:ListBox ID="UserLis" runat="server" Height="131px" Width="114px" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="UserName" DataValueField="UserName"></asp:ListBox>
  4.     <asp:Button ID="changebtn" runat="server" Text=">>" OnClick="changebtn_Click" Width="22px" />
  5.     <asp:ListBox ID="adminLis" runat="server" Height="131px" Width="114px" AutoPostBack="True" DataSourceID="SqlDataSource2" DataTextField="administrator" DataValueField="administrator"></asp:ListBox><br />
  6.     <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TZroomConnectionString %>"
  7.         SelectCommand="SELECT * FROM [U_Info]"></asp:SqlDataSource>
  8.     <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:TZroomConnectionString %>"
  9.         SelectCommand="SELECT * FROM [administrator]"></asp:SqlDataSource>
  10. </asp:Content>