Reputation: 37
Please can anyone tell me why this happened?
<asp:TemplateField HeaderText="Receta">
<ItemTemplate>
<asp:Image ID="Receta1" runat="server" ImageUrl='<%# "Handler1.ashx?PacientId=" + Eval("PacientId") %>' Height="200px" Width="200px"
</ItemTemplate>
</asp:TemplateField>
Upvotes: 0
Views: 39
Reputation: 50728
Your asp:Image is missing the ending />
to it. That would definitely cause the error.
Upvotes: 1