---
title: "GridView :- How to bind data into child GridView"  
description: "GridView :- How to bind data into child GridView"  
author: "Gunuti Rajesh"  
published: 2015-02-10  
updated: 2015-02-11  
canonical: https://www.mindstick.com/forum/12953/gridview-how-to-bind-data-into-child-gridview  
category: ".net"  
tags: [".net"]  
reading_time: 1 minute  

---

# GridView :- How to bind data into child GridView

How to [bind data](https://www.mindstick.com/forum/415/how-to-bind-data-in-windows-phone-7-using-wcf-service) to child [gridview](https://www.mindstick.com/articles/873/update-delete-edit-gridview-in-asp-dot-net) ..on [selection](https://www.mindstick.com/blog/60/populate-records-in-second-listbox-according-to-the-selection-in-first-list-box) of [dropdown list](https://www.mindstick.com/forum/760/dropdown-list-open-hide-behind-another-dropdown-list-on-ie-7) inside [parent](https://www.mindstick.com/blog/154/how-to-find-parent-of-control-in-wpf) gridview

## Replies

### Reply by Samuel Fernandes

From Gridview onrowdatabound event, you have to write the code for finding the dropdownlist and bind the records from the dataset which you have

For Each rw As GridViewRow In grid.Rows

```
Dim drp As New DropDownListdrp = DirectCast(rw.FindControl("drp1"), DropDownList)Dim ds As New DataSetdrp.DataSource = ds.Tables(0).DefaultViewdrp.DataTextField = "Name"drp.DataValueField = "ID"drp.DataBind()
```

Next


---

Original Source: https://www.mindstick.com/forum/12953/gridview-how-to-bind-data-into-child-gridview

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
