home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 18,802 of 19,505   
   Tony Johansson to All   
   Gow to write this select statement   
   09 Dec 12 14:10:17   
   
   From: johansson.andersson@telia.com   
      
   Hello!   
      
   Is it possible  to write a select statement that return both FName and LName   
   as just FullName with a space in between   
   something like Select (FName  +  "  " + LName) as FullName from employees   
      
   So I can use FullName when I bind to a dropdownlist   
   ddlEmployee.DataSource = backEnd.GetEmployees ();   
           C.DataTextField = "FullName ";   
           ddlEmployee.DataValueField = "EId";   
           ddlEmployee.DataBind();   
      
   //Tony   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca