tanweer
tanweer

Reputation: 83

Show Multiple rows in horizontal in a gridview

I have a requirement that I need to show my records in a gridview like this:

image image name name address address

image image
name name
address address

and so on........

I am unable to show my records like in the above format. Could it be possible in a grid view or I need to use any other control. please guide me.

Upvotes: 0

Views: 2569

Answers (2)

swapnesh
swapnesh

Reputation: 26722

You can try this with a jquery plugin--

gridview using jquery

OR check this link also for grid view --

Gridview jquery tips and tricks

Upvotes: 0

Vishal Suthar
Vishal Suthar

Reputation: 17193

You can use Datalist which will allow you to set RepeatDirection to display vertically or horizontally. and RepeatColumns for the number of columns to display.

and for the column headers you can do this:

Rows[0].HeaderCell.value = "image";

........
and so on for others.

check this for more info: Datalist

Upvotes: 1

Related Questions