• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

combining 2 strings

Im getting error combining these strings

<asp:Label ID="lblName" runat="server" Text='<%# Eval("LastName")+","+#Eval("FirstName") %>'/>
what si the syntax?
0
zachvaldez
Asked:
zachvaldez
  • 2
1 Solution
 
jagssiduralaCommented:
Try this

<asp:Label ID="lblName" runat="server" Text='<%# Eval("LastName")+","+Eval("FirstName") %>' />
0
 
zachvaldezAuthor Commented:
Exactly,amigo!Thnks
0
 
zachvaldezAuthor Commented:
I thought that was easy  and quick response for a correct answer !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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