Code
protected void DDLAnnex_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList drp = sender as DropDownList; // 触发事件的 DropDownList
GridViewRow row = drp.NamingContainer as GridViewRow; // GridView 当前行
row.Style.Add(HtmlTextWriterStyle.BackgroundColor, drp.SelectedValue);
int CurRow = row.RowIndex;
}
posted @
2009-04-29 16:36
EasyPass
阅读(
501)
评论()
编辑
收藏
举报