<%@ page language="C#" autoeventwireup="true" inherits="general_SystemManage_TypeAdd, CrmCommand" %>

<!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>
      <script>
function CheckForm()
{


   if(document.form1.TxtName.value == "")
   {
          alert("产品类型名称不能为空！");
	     document.form1.TxtName.focus();
	     return (false);
   }
   

 
   return true;
   }
   </script>
    <base target=_self></base>
</head>
<body leftmargin="0" topmargin="0">
    <form id="form1" runat="server">
    <div>
				<TABLE class="small" cellSpacing="1" cellPadding="3" align="left" bgColor="#000000"
					border="0" style="width: 446px">
					<TR>
						<TD class="TableHeader" colspan=4>
					    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
						</TD>
					</TR>
					<TR>
						<TD class="TableData" style="width: 191px; height: 10px">
                          产品类型名称
						</TD>
						<TD class="TableData" style="height: 10px; width: 297px;" colspan="3">
                            <asp:TextBox ID="TxtName" CssClass=BigInput runat="server"></asp:TextBox>
                             </TD>
					</TR>
                    <tr>
                        <td class="TableData" style="width: 191px; height: 10px">
                            产品类型说明</td>
                        <td class="TableData" colspan="3" style="height: 10px; width: 297px;">
                           <asp:TextBox ID="TxtRemark" CssClass=BigInput runat="server" Height="104px" TextMode="MultiLine" Width="301px" ></asp:TextBox></td>
                    </tr>
					<TR class="TableControl" align="center">
						<TD  colSpan="4" style="width: 510px">
                            <asp:Button ID="Button1" CssClass=BigButton runat="server" OnClientClick="return CheckForm()" Text="产品添加" OnClick="Button1_Click" />
                            <asp:Button ID="Button2" CssClass=BigButton runat="server"  OnClientClick="return CheckForm()" Text="修改类型" OnClick="Button2_Click" /></TD>
					</TR>
				</TABLE>
    </div>
    </form>
</body>
</html>
