DateTime starTime = Convert.ToDateTime(dropyear.SelectedItem.Text + "-" + dropmonth.SelectedItem.Text + "-" + "1");//2010-7-1 00:00:00
        DateTime endTime = Convert.ToDateTime(DropDownList1.SelectedItem.Text + "-" + DropDownList2.SelectedItem.Text + "-" + "1");//2010-7-1 00:00:00
        string strsql = "select * from Tb_gongzi where  addtime between '" + starTime + "' and '" + endTime + "'";
        //string strsql = "select * from Tb_gongzi where  realname='" + txtname.Value + "' and cardNO='" + txtcardid.Value + "' and addtime between '" + starTime + "' and '" + endTime + "'";//2010-07-10 12:00:00        OleDbDataReader dr = AceessHelper.ExecuteReader(strsql);