Hi friends i am getting the error into my applictaion The server tag is not well formed.i am trying to get the eomid here is my code please help me friends.
Code:
Page language="c#" Codebehind="Accomplishment.aspx.cs" AutoEventWireup="false" Inherits="Accomplishments.Accomplishment" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <title>Accomplishment</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="C#" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> </HEAD> <body> <form id="Form1" method="post" runat="server"> <table height="100%" cellSpacing="0" width="700" align="center" border="1"> <tr> <td height="50"><IMG src="header.jpg" width="700"></td> </tr> <tr> <td vAlign="top"> <table cellPadding="5" width="700"> <tr> <td><asp:label id="lblmsg" Font-Bold="True" ForeColor="#990000" Runat="server"></asp:label></td> </tr> <tr> <td>FirstName: <asp:textbox id="txtFirstName" Runat="server" ReadOnly="True"></asp:textbox>LastName: <asp:textbox id="txtLastName" Runat="server" ReadOnly="True"></asp:textbox></td> </tr> <tr> <td>Login <asp:textbox id="txtLogin" Runat="server" ReadOnly="True"></asp:textbox>Dept:<asp:textbox id="txtdept" Runat="server" ReadOnly="True"></asp:textbox></td></tr> <tr> <td> <asp:textbox id="txttest" Runat="server" Visible="False" OnDataBinding="'<%# DataBinder.Eval(Container.DataItem,"eomId")%>'"></asp:textbox> </td> </tr> <tr> <td>DateCreated: <asp:textbox id="txtdatecreated" Runat="server" ReadOnly="True"></asp:textbox>ProejctName: <asp:dropdownlist id="drpProject" Runat="server" AutoPostBack="True"> <asp:ListItem Value="">Select a Project</asp:ListItem> <asp:ListItem Value="01">Employee Nominations</asp:ListItem> <asp:ListItem Value="02">Accomplishments</asp:ListItem> </asp:dropdownlist><!--<asp:requiredfieldvalidator id="Project" Runat="server" ControlToValidate="drpProject" Display="Dynamic" ErrorMessage="*"></asp:requiredfieldvalidator>!--> </td> </tr> <tr> <td><asp:textbox id="txtdescription" Runat="server" TextMode="MultiLine" Height="150" Width="600"></asp:textbox></td> </tr> <tr> <td><asp:button id="cmdSubmit" Runat="server" Text="Submit"></asp:button></td> </tr> </table> </td> </tr> </table> </form> </body> </HTML>
Comment