public void TransactionDetails() { //here we fill transaction details according to order id Object TransactionSelect = new Object(); TransactionSelect.Order_Id = DdlOrderId.SelectedValue; DataTable dt = BSLAYER.SelectTransaction(TransactionSelect); TxtDate.Text = dt.Rows[0]["Transaction_Date"].ToString(); TxtSale.Text = dt.Rows[0]["Transaction_Amount"].ToString(); }