有这样一段代码(主要部分)DropDownList dplTeamA = (DropDownList) item.Cells[1].FindControl("dplTeamA");//两个不同的
DropDownList dplTeamB = (DropDownList) item.Cells[3].FindControl("dplTeamB");  while (RD.Read ())
{
   ListItem lstitem = new ListItem (RD["Name"].ToString (),RD["ID"].ToString ());
   dplTeamA.Items .Add (lstitem);
   dplTeamB.Items .Add (lstitem);
}//加入项bool AOK = false;
bool BOK = false;
for (int i=0;i<2;i++)
{
     if (AOK && BOK) break;
     if (dplTeamA.Items[i].Value == lblTeamAID.Text && ! AOK)
{
     dplTeamA.SelectedIndex = i;
     AOK = true;
}
    if (dplTeamB.Items[i].Value == lblTeamBID.Text && ! BOK)
{
     dplTeamB.SelectedIndex = i;
     BOK = true;
}
    bool ff = dplTeamB.Equals(dplTeamA); 
当dplTeamB.SelectedIndex 被付值时,dplTeamA.SelectedIndex 也被付值为dplTeamB.SelectedIndex相同的值,但是dplTeamA.SelectedIndex = i 这条语句并没有运行,我考察过了dplTeamA与dplTeamB不是同一个对象,真是奇怪,谁知道是怎么会事  20分就是他的了