我该如何解决这个问题? [英] How do I solve this?

查看:55
本文介绍了我该如何解决这个问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: The server tag is not well formed.

Source Error: 


Line 31:                 </ItemTemplate>
Line 32:                 <EditItemTemplate> 
Line 33:                 <asp:TextBox ID="txtFirstname"'<%# Eval("Firstname") %>'   runat= "server" />
Line 34:                   </EditItemTemplate>
Line 35:                <FooterTemplate>

Source File: /default.aspx    Line: 33 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0





我尝试过:



i不能继续这个请帮助



What I have tried:

i cant continue this please help

推荐答案

替换它:

Replace this:
<asp:TextBox ID="txtFirstname"'<%# Eval("Firstname") %>'   runat= "server" />



with:


with:

<asp:TextBox ID="txtFirstname" Text='<%#Eval("Firstname")%>' runat= "server" />





你看到了区别吗?



Do you see the difference?


这篇关于我该如何解决这个问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆