Net-informations.com

Image between GridView rows

The GridView control is the successor to the DataGrid and extends it in a number of ways. In GridView control, you can place images between your gridview rows data. In the previous lesson you already saw how to place blank row between gridview rows.

Blank row inside GridView Rows images in gridview

Database

In this article I have used Microsoft's Pubs database for sample data. You can download it free from the following link.

Download

The program adding some functionality to GridView Control to display an image inside the blank row. The program select data from sales table in Pubs database. While retrieving, it grouped the data in stor_id wise for finding the row data change in the gridview. Here we place an image when a stor_id is change, so each new stor_id we make a blank row and place an image inside the row.

From the following program you can understand how to place an image between GridView rows.

Default.aspx

C# Source Code

VB.Net Source Code







net-informations.com (C) 2019    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.
SiteMap  | Terms  | About