protected void book_Click(object sender, EventArgs e) { BookApp bapp = new BookApp(); bapp.ad_email = doctoremail.Text; bapp.ap_email = patientemail.Text; bapp.a_desc = description.Text; bapp.a_date = date.Text.ToString(); string msg = client.bookAppointment(bapp); errbook.Text = msg.ToString(); }
public void Init() { _document = new BookApp(); }