View Single Post
  #1 (permalink)  
Old November 11th, 2007, 11:22 PM
MunishBhatia MunishBhatia is offline
Friend of Wrox
Points: 970, Level: 12
Points: 970, Level: 12 Points: 970, Level: 12 Points: 970, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2006
Location: Bangalore, Karnataka, India.
Posts: 232
Thanks: 0
Thanked 1 Time in 1 Post
Default custome display in grid view

i have table having three columns state,city and address

a state have multiple cities and there are many records for one city.

i fetch all the data from database by datareader. or when i get city i get all records for that city in dataset.

my main trouble is how to display data in required form. i want to display data in following form:

State1 (one time)

City1 (one time)

Address1

Address2

Address3

City 2

Address1

Address2

Address3

Please help me.



thanks......
__________________
thanks......
Reply With Quote