Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have gridview which is filled dynamically..in which two column firstName and lastName is there.i have to merge this two column and display as name..note that all data is come from database..
thank you in advance
Posted
Updated 2-Oct-12 8:13am
v2
Comments
Richard C Bishop 2-Oct-12 14:15pm    
Go ahead and post the code you have so far so that we may have an understanding of what you have done so far.

1 solution

You don't need to merge datagridview columns. You can achieve that using query:
SQL
SELECT firstName + ' ' + lastName AS [Customer]
FROM YourTable
 
Share this answer
 
Comments
Member 9334390 17-Oct-12 13:21pm    
thanx..its working
Maciej Los 17-Oct-12 13:23pm    
You're welcome ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900