.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

I was wondering how I fix this

Posted By:      Posted Date: October 16, 2010    Points: 0   Category :ASP.Net

My code is

<asp:TemplateField HeaderText="PODate"g SortExpression="POdate">
                     <asp:TextBox ID="podate" runat="server" Text='<%# Bind("PODate") %>'></asp:TextBox>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="podate" ErrorMessage="Date is needed!">*</asp:RequiredFieldValidator>


and I get this. Could anyone please suggest what I need to do. Thanks

Parser Error Message: System.Web.UI.WebControls.DataControlFieldCollection must have items of type 'System.Web.UI.WebControls.DataControlField'. 'EditItemTemplate' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.

View Complete Post

More Related Resource Links

Wondering about example HttpCookieSession


Hi there,

As usual, I almost read examples from Microsoft only. The example is


class HttpCookieOutputSession : IOutputSession


            string id;


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend