Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 844
  • Last Modified:

bind two data columns in a text property of linkbutton using Repeater control

Hi everybody..
How could I bind more than one columns in a text property of linkbutton in a repeater control..
0
Hassan_Ghanem
Asked:
Hassan_Ghanem
  • 2
1 Solution
 
boulder_bumCommented:
Within a TemplateItem or something:

<asp:LinkButton id=LinkButton1 runat="server">
<%# DataBinder.Eval(Container.DataItem, "Field1" ).ToString() + DataBinder.Eval(Container.DataItem, "Field2" ).ToString()  %>
</asp:LinkButton>
0
 
Hassan_GhanemAuthor Commented:
Thanks boulder bum
0
 
boulder_bumCommented:
No problem.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now