<%@ page language="C#" autoeventwireup="true" inherits="general_SystemManage_Role_Manage, CrmCommand" %>
<%@ Register TagPrefix="C1WebGrid" Namespace="C1.Web.C1WebGrid" Assembly="C1.Web.C1WebGrid.2" %>
<!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>
</head>
<body class="bodycolor" topmargin="5">
    <form id="form1" runat="server">
    <table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
				<tr>
					<td class="Big">
					<img src="../images/notify_new.gif" align="absMiddle"><span class="big3"> 
							新建角色</span><br>
					</td>
				</tr>
			</table>
			<div align="center">
				<input type="button" value="新建角色" class="BigButton" onClick="location.href='Role_Add.aspx';" title="新建角色">
			</div>
			<br>
			<table width="95%" border="0" cellspacing="0" cellpadding="0" height="3">
				<tr>
					<td background="/images/dian1.gif" width="100%"></td>
				</tr>
			</table>
			<table border="0" width="100%" cellspacing="0" cellpadding="3"  class="small">
				<tr>
					<td class="Big">
					<img src="../images/notify_new.gif" align="absMiddle"><span class="big3">
							管理角色</span>
					</td>
				</tr>
				<tr><td></td> </tr> 
					<TR>
					<td align=center   >
						 <c1webgrid:c1webgrid  width=400   SkinId="gridviewSkin"   ID="C1WebGrid1" 
  runat="server" AutoGenerateColumns="False" OnItemCommand="C1WebGrid1_ItemCommand" OnItemDataBound="C1WebGrid1_ItemDataBound" 

 >
        <Columns>
       
  <C1WebGrid:C1BoundColumn      DataField="RoleID" HeaderText="编号"/> 
            <C1WebGrid:C1BoundColumn  DataField="RoleName" HeaderText="角色名称" /> 
            
  <c1webgrid:C1TemplateColumn  HeaderText="操作" >

<ItemTemplate>
<a href='Role_Edit.aspx?id=<%#Eval("RoleID")%>'>编辑角色</a>

   	<asp:LinkButton ID="LbtDel"    runat="server" CausesValidation="False" CommandName="Del" OnClientClick="return confirm('确定删除该项吗?');"
                            Text='<%#Eval("RoleID")%>'></asp:LinkButton>
 
 
   
 
                    
			</ItemTemplate>
</c1webgrid:C1TemplateColumn>


        					</Columns> 
    
        </c1webgrid:c1webgrid>
    </td>
    </TR> 
			</table>
	
    </form>
</body>
</html>
