Example #1
0
        public static void UpdateMenuInfor(string string_0, string string_1, string string_2, bool bool_0)
        {
            string        str    = "";
            SqlDataAccess access = new SqlDataAccess();

            str = "delete from GpsJTBMsgHistory where SimNum='" + string_0 + "' and MsgType=" + string_1 + " and MsgID=" + string_2;
            access.DeleteBySql(str);
            if (bool_0)
            {
                str = " insert into GpsJTBMsgHistory(SimNum,MsgType,MsgID,CreateDate) values('" + string_0 + "'," + string_1 + "," + string_2 + ",getdate())";
                access.insertBySql(str);
            }
        }