<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Intentionadd.aspx.cs" Inherits="etwuser_Intentionadd" %>

<%@ Register Src="../control/Left.ascx" TagName="Left" TagPrefix="uc1" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ETW 国际客户之窗</title>
<link type="text/css" href="images/style.css" rel="stylesheet" />
<link type="text/css" href="images/global.css" rel="stylesheet" />
<script type="text/javascript" src="js/Function.Js" ></script>
<script type="text/javascript" src="js/showdiv.js" ></script>
</head>
<body>
<form id="Form1" runat="server">
<div class="top">
  <div class="top_b">
    <div class="top_logo"><img src="images/logo.jpg" alt="etw" /><span>{ 客户之窗 }</span></div>
    <div class="search"><a href="index.aspx">首页</a> | <a href="">加入收藏</a> | <a href="contact.aspx">联系我们</a> | <a href="loginout.aspx">退出系统</a></div>
  </div>
</div>
<div class="mainbody">
  <div class="left">
    <div class="left_top">
      <div class="ll"><a href="noread_news.aspx">未读询盘</a></div>
      <div class="rr"><a href="update.aspx">更新询盘</a></div>
    </div>
    <uc1:Left ID="Left1" runat="server" />
  </div>
  <div class="right">
     <div class="mainn">
      <div class="main">
        <div class="main_dh"> <span class="float_l"><img src="images/top14.gif" alt="" />&nbsp;翻译服务心<img src="images/ico2.gif" alt="" /> 所有翻译</span>
        </div>
        <div class="fanyi_con">
          <div class="g-toolbar" >
    <div class="btngrp">
      <div  class="btn btn-dft" > </div>
    </div>
      </div>
        </div>
        <div class="main_xp">
                <div class="itemtitle">
            <h3>
                添加意向</h3>
        </div>
        <div class="itemtitle_tect">
            <p>
                名称：<asp:TextBox ID="txtname" runat="server"></asp:TextBox><asp:Button ID="btnSave"
                    runat="server" Text="添加" OnClick="btnSave_Click" CssClass="i_button" />
            </p>
        </div>
        <div class="clr">
        </div>
        <div class="talbe_border">
            <asp:DataList ID="dlstType" runat="server" OnCancelCommand="dlstType_CancelCommand"
                OnDeleteCommand="dlstType_DeleteCommand" OnEditCommand="dlstType_EditCommand"
                OnUpdateCommand="dlstType_UpdateCommand" RepeatColumns="4" DataKeyField="ID"
                CellPadding="0" CellSpacing="0" CssClass="talbe_">
                <HeaderStyle CssClass="noya" />
                <HeaderTemplate>
                    <div class="head_ling">
                        添加意向</div>
                </HeaderTemplate>
                <ItemTemplate>
                  <%#Cutname(Eval("id").ToString(),Eval("name").ToString())%>
                  【<asp:LinkButton ID="lbtnEdit" runat="server" CommandName="edit">编辑</asp:LinkButton>】
                  <%#CutVisible(Eval("id").ToString())%>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="txtName" runat="server" Text='<%#Cutname(Eval("id").ToString(),Eval("name").ToString())%>'></asp:TextBox>
                    <asp:LinkButton runat="server" CommandName="update" ID="btnUpdate">更新</asp:LinkButton>
                    <asp:LinkButton runat="server" CommandName="cancel" ID="btnCancel">取消</asp:LinkButton>
                    <%#CutVisible(Eval("id").ToString())%>
                </EditItemTemplate>
            </asp:DataList>
        </div>
        </div>
        <div class="copyright"> Copy Rright © 2008-2010 ETW International </div>
      </div>
     </div>
  </div>
</div>
<script type="text/javascript" src="js/tab.js"></script>
</form>
</body>
</html>
