dataList 里的droplistdown事件
protected void Select_SelectedIndexChanged(object sender, EventArgs e)
    {
        string  PId = "";
        string strSelectValue="";
        foreach (DataListItem myItem in this.List.Items)
        {
            PId =List.DataKeys[myItem.ItemIndex].ToString();
            DropDownList Sel = (DropDownList)myItem.FindControl("Select");
            strSelectValue = Sel.SelectedValue;
            
        }
        PId strSelectValue 得到的结果都不是我选择的值,请问如何解决
    }