public void callAllMethods() { try { data.DeleteData(); data.InsertData(); data.UpdateData(); data.GetDataTable(); } catch (Exception ex) { Console.WriteLine(ex.Message); } }