public void UpdateCallAgent(int pidagent, string fname, string lname, string uname, string password, int totalhours, string agentext, string avgcalllength, int totalcalls, int performancescore) { DataHandler dh = new DataHandler(); dh.DeleteCallAgent(pidagent.ToString()); dh.AddCallAgent(fname, lname, uname, password, totalhours, agentext, avgcalllength, totalcalls, performancescore); }