| Sender |
Anuraj
|
| Recipient(s) |
Spha
|
| Date |
01 Oct 2009
|
Re: Re: How to bind the dropdown inside the gridview o
|
Try this code
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { DropDownList ddl = e.Row.Cells[0].FindControl("MyDropdown") as DropDownList; ddl.DataSource = new DataTable(); ddl.DataBind(); }
>>> On 01 Oct 2009, Spha wrote:
Hi, you are telling me to use GridView_ItemDataBound event. how do I use that an where? I posted this question because I don't know what to do so if you don't mind can you be detailed when replying. thank ou
|