Kannan

In asp.net, i have a window form with datagridview which having two column empid, firstname + lastname. My question is, how to display lastname underneath firstname in the same column? Also, how to apply different color to firstname & lastname

Asked by Kannan 2 years ago asp.net


Joel Reyes
0
 
There's a variety of ways to accomplish this, you can use:

Public string FullName
{
get
{

return FirstName + " " + LastName}
}

or

string fullName = String.Concat(LastName, " ", FirstName);

Hopefully this has helped..

by Joel Reyes 2 years ago

Answer this question

In asp.net, i have a window form with datagridview which having two column empid, firstname + lastname. My question is, how to display lastname underneath firstname in the same column? Also, how to apply different color to firstname & lastname

0 errors found:

 
0