public bool deleteRegister(string cname)
 {
     objreg = new REGISTERTableAdapter();
     return(objreg.DeleteRegister(cname) > 0);
 }
 public bool insertRegister(string cname, string mail, string phone)
 {
     objreg = new REGISTERTableAdapter();
     return(objreg.InsertRegister(cname, mail, phone) > 0);
 }
 public bool checkRegister(string cname)
 {
     objreg = new REGISTERTableAdapter();
     return(objreg.CheckRegister(cname) > 0);
 }
 public DataTable getRegister()
 {
     objreg = new REGISTERTableAdapter();
     return(objreg.GetRegister());
 }