string x=((DropDownList)e.Item.FindControl("ddl2")).SelectedValue;//为什么怎么选DropDownList,x的值总是1?
if(Convert.ToInt32(x)==1)
{
x1=1;
}
else
{
x1=2;
}