Click here to Skip to main content
15,891,765 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,

I need to group my below result based on TableName column, how to do that?

i Need a ouptput like

C#
List<Tables>
{
TableName
List<ColumnName>
}



TableName   ColumnName
Section     Id
Section     CreationUserId
Section     CreationTs
Section     LastChangeUserId
Section     LastChangeTs
Section     FromStationCode
Section     ToStationCode
Section     Duration

Station     Id
Station     CreationUserId
Station     CreationTs
Station     LastChangeUserId
Station     LastChangeTs
Station     StationCode
Station     StationName
Station     StationNumber
Station     NoofPlatform
Station     Categories
Station     Corridor
Station     Crossing
Station     Active
Station     Status
Posted
Updated 24-Jul-13 4:36am
v2
Comments
Matt T Heffron 24-Jul-13 15:25pm    
What have you tried?
What is the data you're starting with?

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