public void adddata(object s, EventArgs args)
 {
     student = new Student();
     _studentdb = new StudentDB();
     student.Name = name.Text;
     student.Address = address.Text;
     student.Phone = phone.Text;
     _studentdb.AddStusent(student);
 }
 //Add new student to DB
 public void AddStusent(Student student)
 {
     _sqlconnection.Insert(student);
 }