Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi,

I'm creating a grid view, the output I'm getting is like this:

<img src="http://i869.photobucket.com/albums/ab252/write2varun/gridview_zpsc34ad4d5.png" border="0" alt="grid view photo gridview_zpsc34ad4d5.png"/>


But I want the output as distinct GroupName and the Name should be separated by comma (,)
Eg:

<img src="http://i869.photobucket.com/albums/ab252/write2varun/gridview2_zps739c97d6.png" border="0" alt="grid 2 photo gridview2_zps739c97d6.png"/>

wanna wanna do it via. code side of the page

Thank You


p.s. i cannot change the query string
Posted
Updated 10-Sep-13 7:46am
v4
Comments
Sergey Alexandrovich Kryukov 10-Sep-13 13:12pm    
Looks pretty trivial. http://whathaveyoutried.com so far? what's the problem?
—SA
write2varun 10-Sep-13 13:18pm    
I know what to do but I don't know how to do
Sergey Alexandrovich Kryukov 10-Sep-13 13:22pm    
Do what? Generate HTML code with a table and cells in ASP.NET? Or get the data from database?
—SA
write2varun 10-Sep-13 13:24pm    
i wanna get data from database into the gridview in that format
Sergey Alexandrovich Kryukov 10-Sep-13 14:21pm    
Then what prevents you from doing that? Do you have problems with ADO.NET? HTML? Writing HTML using ASP.NET? Understanding ASP.NET?
—SA

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