Repeater 中button 获得的DropdrownList的值
2017-11-20 0:00:00
protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
{
if (e.CommandName == "addCart")
{
string ID = e.CommandArgument.ToString();
DropDownList dd = ((Control)e.CommandSource).BindingContainer.FindControl("Ddl_city") as DropDownList;
string cityID=dd.SelectedValue
}
}