public static bool delete(XmlNode xn) { Global.sql = "DELETE kondisi_keluar WHERE id_kondisi = '" + xn.SelectSingleNode("id_kondisi").InnerText + "'"; return(Global.ExecQuery(Global.sql)); }