944,057 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 550
  • ASP.NET RSS
Nov 7th, 2009
0

columns in GridView

Expand Post »
Hi to all,

I have table student in which I inserting first name,middle name, last name in 3 different columns. but when i want to show it in gridview I want to join three columns into only one heading "Name".
Is it possible...?
or any other way to show it..?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
sakhi kul is offline Offline
62 posts
since Aug 2009
Nov 8th, 2009
0

joining colums

have u tried playing around with the smart tag arrow on the gridview? u should be ble to get an option which prompts u to select those fields u want displayed, i dont have ASP.net on my machine,therefore rilly cabt say much but just a pinch of what i had done before.
Hala back
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lantana is offline Offline
2 posts
since Nov 2009
Nov 9th, 2009
0
Re: columns in GridView
Click to Expand / Collapse  Quote originally posted by sakhi kul ...
Hi to all,

I have table student in which I inserting first name,middle name, last name in 3 different columns. but when i want to show it in gridview I want to join three columns into only one heading "Name".
Is it possible...?
or any other way to show it..?
why dont you try to manipulate the sql query

ASP.NET Syntax (Toggle Plain Text)
  1. Select FirstName + ' ' + MiddleName + ' ' + LastName As [Name] From Student
Reputation Points: 11
Solved Threads: 17
Junior Poster
Kusno is offline Offline
191 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Generic Handler
Next Thread in ASP.NET Forum Timeline: how to deploy matlab on asp.net





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC