How to create this datagrid? Thank You.

S

Shapper

Hello,

I am creating a datagrid with 3 columns: image, title and price.

I am having problems in doing the following:
1. In image column I want to display thumbnail images which url is in
Dataset Image_URL field.
2. I need to set the width of each column.
3. I need the background color of each row to change when I move the
mouse over it.
When the row is clicked anywhere i want to call teh page
detail.aspx?product= (id value of the clicked row)
4. I need to set paging where each page is 10 products.

Can someone help me out with these 4 problems?
I have been trying several things but i had no success until now.

In this moment I have this:

' Create Products DataGrid
dgProducts.AutoGenerateColumns = False
dgProducts.ShowHeader = False
Dim photo As BoundColumn = New BoundColumn
photo.DataField = "image01_url"
Dim title As BoundColumn = New BoundColumn
title.DataField = "title_" & Session("culture")
Dim price As BoundColumn = New BoundColumn
price.DataField = "price"
dgProducts.Columns.Add(photo)
dgProducts.Columns.Add(title)
dgProducts.Columns.Add(price)

Thank You,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top