Solved

combining 2 strings

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Popup to change image and store url in database 2 30
simplest php form 3 59
Two different visual studio versions 3 22
A form to still have contents even if some are wrong 10 46
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now