| Author: vipul 28 Aug 2008 | Member Level: Diamond | Rating:  Points: 2 |
hi, for that you refer this article they give with example http://www.odetocode.com/Articles/231.aspx
vipul, http://dongavipul.blogspot.com
Please Rate This Answer If They Helpful
Thanks & Regards Patel Vipul
|
| Author: Happy Coder 28 Aug 2008 | Member Level: Gold | Rating:  Points: 4 |
In GridView RowCreated event, Get the instance of DropDown using the findControl method and add the SelectedIndexChangedevent to the dropdown
DropDownList ddList = e.Row.FindControl("ddlId") ddlList.SelectedIndexChanged += new EventHandler(ddlList_SelectedIndexChanged)
Inside ddlList_SelectedIndexChanged define the operation to upddate the database.
Geek is back. ____Happy_Coder____ If you feel this is helpful, RATE IT.
|