int id = Convert.ToInt32(e.CommandArgument.ToString());
DropDownList ddlyxbh = (DropDownList)this.gvTc.Rows[e.NewEditIndex].FindControl("ddlyxbh");
//这个一般用于row_command事件里的
本文详细介绍了在 ASP.NET 中如何使用 GridView 控件的 row_command 事件来处理用户交互,特别是通过获取特定行的数据项如 DropDownList 的选定值。文中提供了具体的 C# 代码示例。

被折叠的 条评论
为什么被折叠?