protected void Button2_Click(object sender, EventArgs e) { string receipt_id = query_receipt_id.Text; string customer_name = txt_customer.Text; string start_time = CalendarBox1.Text; string end_time = CalendarBox2.Text; ReceiptAuditAdapter raa = new ReceiptAuditAdapter(); show(raa.queryReceiptHeads(receipt_id, customer_name, start_time, end_time)); }