Solved

combining 2 strings

Posted on 2011-09-15
3
209 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

821 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