i have access database [modified]
-
<asp:TemplateField > <ItemTemplate> <%-- <asp:LinkButton ID="lnkReplyHeading" runat="server" ><%# DataBinder.Eval(Container.DataItem,"u.username") %></asp:LinkButton>--%> <asp:LinkButton id="lnkusername" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"u.username")%>' commandname="ss" > </asp:LinkButton> </ItemTemplate> </asp:TemplateField> System.Data.DataRowView' does not contain a property with the name 'u'.
modified on Tuesday, February 19, 2008 8:43 AM
-
<asp:TemplateField > <ItemTemplate> <%-- <asp:LinkButton ID="lnkReplyHeading" runat="server" ><%# DataBinder.Eval(Container.DataItem,"u.username") %></asp:LinkButton>--%> <asp:LinkButton id="lnkusername" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"u.username")%>' commandname="ss" > </asp:LinkButton> </ItemTemplate> </asp:TemplateField> System.Data.DataRowView' does not contain a property with the name 'u'.
modified on Tuesday, February 19, 2008 8:43 AM
Hi Ritu! Can you plz explain the problem in detail. I can't understand what is the problem.
"Save water,It's precious" :) "Don't forget to vote" ;) ;P ;)
-
<asp:TemplateField > <ItemTemplate> <%-- <asp:LinkButton ID="lnkReplyHeading" runat="server" ><%# DataBinder.Eval(Container.DataItem,"u.username") %></asp:LinkButton>--%> <asp:LinkButton id="lnkusername" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"u.username")%>' commandname="ss" > </asp:LinkButton> </ItemTemplate> </asp:TemplateField> System.Data.DataRowView' does not contain a property with the name 'u'.
modified on Tuesday, February 19, 2008 8:43 AM
ritu4321 wrote:
]]>
Try using,(remove 'u.')
]]>
[Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot