: For Visual Studio 2005 in ASP:
:
: Is it possible to create a Custom Binding expression on a label that
: will display the values of 2 fields in a record? What would the
: Expression be? I have tried the following with no luck:
:
: Bind("firstName" & ' ' & "lastName")
:
: Bind("firstName" + ' ' + "lastName"):
: As you can see I am only a beginner but this can also help you to
: understand more of what I am requesting. Thanks in advance for your
: help.
: MIT560
:
Hello, why not do it in the SQL level?
You can go with somethings like:
select firstName+', '+lastName as fullname from users where userid=1
Regards!
Brad Wang
.NET Freelancer from China