Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   Col1 + Col2 in Dropdownlist? (http://www.velocityreviews.com/forums/t774324-col1-col2-in-dropdownlist.html)

Lasse Edsvik 09-23-2004 02:44 PM

Col1 + Col2 in Dropdownlist?
 
Hello

I was wondering how i get both firstname and lastname displayed in the dropdownlist?

.....


DropDownList1.DataSource = cmd.ExecuteReader(CommandBehavior.CloseConnection) ;

DropDownList1.DataTextField = "Firstname";

DropDownList1.DataBind();



works but how to add Lastname and a space infront of it? Firstname + " " + Lastname

TIA

/Lasse



All times are GMT. The time now is 06:02 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.