如题,我在DataGrid上面设置了一个模板列,模板列的编辑模板上面放了一个列表框,我想当我点击编辑按钮的时候能把原来该列的内容加入到这个列表框中。现在的问题是能够取得原来的值
private void datagridColumn_EditCommand(object source,System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
this.datagridColumn.EditItemIndex = e.Item.ItemIndex;
Label lbl1 = (Label)(e.Item.Cells[0].FindControl("Label1")); 
string strGetValue = lbl1.Text;
this.datagridColumn.DataBind();
}可我怎么向模板列中列表框中添加这个strGetValue值呢? DropDownList drpType = (DropDownList)(e.Item.Cells[5].FindControl("DropDownList1"));