DropDownList DDL = new DropDownList();
        ListItem[] LI = new ListItem[3];
        LI[0].Text = "平日";        
LI[0].Value = "0";
        LI[1].Text = "节假日";
        LI[1].Value = "1";
        LI[2].Text = "特殊";
        LI[2].Value = "11";
        DDL.Items.AddRange(LI);错误说 未将对象引用到实例!!!!