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
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