Solved

combining 2 strings

Posted on 2011-09-15
3
214 Views
Last Modified: 2012-05-12
Im getting error combining these strings

<asp:Label ID="lblName" runat="server" Text='<%# Eval("LastName")+","+#Eval("FirstName") %>'/>
what si the syntax?
0
Comment
Question by:zachvaldez
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
jagssidurala earned 125 total points
ID: 36545377
Try this

<asp:Label ID="lblName" runat="server" Text='<%# Eval("LastName")+","+Eval("FirstName") %>' />
0
 

Author Comment

by:zachvaldez
ID: 36545425
Exactly,amigo!Thnks
0
 

Author Closing Comment

by:zachvaldez
ID: 36545436
I thought that was easy  and quick response for a correct answer !
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question