protected void rgItems_ItemCommand(object sender, GridCommandEventArgs e) { If(e.CommandName == "Edit")// or "Update"; ComboBox cBox = (e.Item.FindControl("your ComboBox") as ComboBox); //now treat cBox as "Your ComboBox" so you can bind data to it } //but dont forget to add in you aspx page in your grid (OnItemCommand="rgItems_ItemCommand")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)