protected void btn_submit_report_Click(object sender, EventArgs e) { DateTime date_reported = DateTime.Now; string post = lbl_id.Text; string type = type_type; string reported_by = userid; string reason = ddl_reason.SelectedValue; string remarks = tb_remark.Text; string status = "Unresolved"; Service1Client client = new DBServiceReference.Service1Client(); int result = client.CreateReport(date_reported, post, type, reported_by, reason, remarks, status); lbl_msg.Text = "Report successfully submitted, we will resolve it soon."; }