<%@ Page CodeBehind="admin_transfer.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.admin_transfer" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
<% @ Import Namespace="Webdisk" %>
		<link href="img/main.css" rel="stylesheet" type="text/css">
		<style type="text/css">	
		.style5 { FONT-WEIGHT: bold; COLOR: #ffffff }	
		.style4 { COLOR: #ff0000 }	
		</style>
</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" id="brb" height="27">
				<tr>
					<td colSpan="3" class="td_title">调用管理
					</td>
				</tr>
			</table>
		  <div align="center"><asp:datagrid id="DataGrid" runat="server" CssClass="GridBody"
						AutoGenerateColumns="False" Width="100%" PageSize="20" AllowSorting="True" GridLines="None">
				<AlternatingItemStyle CssClass="GridLine"></AlternatingItemStyle>
				<ItemStyle CssClass="GridItem"></ItemStyle>
				<HeaderStyle CssClass="GridHead"></HeaderStyle>

<Columns>
<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="类别">
<HeaderStyle HorizontalAlign="Center" Width="15%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>

<ItemTemplate>
									<%# show(DataBinder.Eval(Container, "DataItem.T_type").ToString()) %>
								
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="T_name" HeaderText="名称">
<HeaderStyle HorizontalAlign="Center" Width="15%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="T_sm" HeaderText="说明">
<HeaderStyle HorizontalAlign="Center">
</HeaderStyle>

<ItemStyle HorizontalAlign="Left">
</ItemStyle>
</asp:BoundColumn>
<asp:HyperLinkColumn Text="预览" Target="_blank" DataNavigateUrlField="T_name" DataNavigateUrlFormatString="admin_transfer_see.aspx?GetName={0}" HeaderText="预览">
<HeaderStyle HorizontalAlign="Center" Width="5%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:HyperLinkColumn>
<asp:HyperLinkColumn Text="编辑" DataNavigateUrlField="id" DataNavigateUrlFormatString="admin_transfer_add.aspx?id={0}" HeaderText="编辑">
<HeaderStyle HorizontalAlign="Center" Width="5%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:HyperLinkColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="" HeaderText="复制" CancelText="Edit" EditText="复制">
<HeaderStyle HorizontalAlign="Center" Width="5%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:EditCommandColumn>
<asp:ButtonColumn Text="导出" HeaderText="导出" CommandName="Select">
<HeaderStyle HorizontalAlign="Center" Width="5%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:ButtonColumn>
<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
<HeaderStyle HorizontalAlign="Center" Width="5%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:ButtonColumn>
</Columns>

<PagerStyle PageButtonCount="20" Mode="NumericPages">
</PagerStyle>
			  </asp:datagrid>
			  <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" id="brb" height="27">
                <tr>
                  <td colSpan="3" class="td_title">导入调用（将已导出的调用项目导入进来，为TXT文件）</td>
                </tr>
                <tr class=tableTd>
                  <td width="17%" align="right"><span class="forumrow"><span class="a3-green">直接粘贴TXT文件中的内容：</span> </span> </td>
                  <td width="83%" >&nbsp;
                    <textarea name="textarea" cols="50" rows="3" id=import runat="server"></textarea>
                    <span class="px14">
                    <asp:Button ID="Submit2" runat="server" Width="100px" class="formbutton" Text=" 导 入 " onclick="Submit2_Click"></asp:Button>
                  </span></td>
                </tr>
              </table></p>
			  </div>
		</form>
	</body>
</HTML>
