Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
2.26/5 (4 votes)
See more:
Hello everyone,
I want to set data in gridview such that it should have fixed 3 columns. i want to give example link please have a look at this link.Is there any other way than gridview?
Posted
Comments
Sergey Alexandrovich Kryukov 16-Apr-13 0:30am    
It depends on what you mean by grid view. You need to tag your application type or UI library you want to use.
—SA

1 solution

you should use DataList control, you can create your own template as you given

use RepeatDirection property

MyDataList.RepeatDirection = RepeatDirection.Horizontal


Data List Example
 
Share this answer
 
v2

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