columns in GridView

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2009
Posts: 31
Reputation: sakhi kul is an unknown quantity at this point 
Solved Threads: 0
sakhi kul sakhi kul is offline Offline
Light Poster

columns in GridView

 
0
  #1
Nov 7th, 2009
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..?
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 2
Reputation: lantana is an unknown quantity at this point 
Solved Threads: 0
lantana lantana is offline Offline
Newbie Poster

joining colums

 
0
  #2
Nov 8th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 182
Reputation: Kusno is an unknown quantity at this point 
Solved Threads: 15
Kusno's Avatar
Kusno Kusno is offline Offline
Junior Poster
 
0
  #3
Nov 9th, 2009
Originally Posted by sakhi kul View 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..?
why dont you try to manipulate the sql query

  1. Select FirstName + ' ' + MiddleName + ' ' + LastName As [Name] From Student
NEVER NEVER NEVER GIVE UP
Reply With Quote Quick reply to this message  
Reply

Message:




Views: 326 | Replies: 2
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC