Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

how to make gridview as 5 columns like in datalist we have repeadercolumn property.

i am binding image in gridview in asp.net web form. i need to 5 columns to show image. if i am binding in datalist control , i can give repeatcolumn="5" which splits 5 cloumns. but i need in gridview. Pls help me out. Thanks.
Posted
Updated 9-Oct-13 0:18am
v2
Comments
thatraja 9-Oct-13 9:08am    
Include screenshot for sample(final gridview output), use imgur.com to upload image

1 solution

You can use columnspan = 5 on the first cell
 
Share this answer
 

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