private void GetAllTransactions() { int FirmId = Convert.ToInt32(comboUFirm.SelectedValue); int AccountId = Convert.ToInt32(comboUAccount.SelectedValue); DateTime fromDate = dtFromDate.Value; DateTime toDate = dtToDate.Value; accountTransacionService = new AccountTransactionService(); var utilityData = accountTransacionService.GetAllTransactionData(FirmId, AccountId, toDate, fromDate); gridTransactionUtilty.DataSource = utilityData; gridTransactionUtilty.ReadOnly = true; gridTransactionUtilty.Columns["TransactionDate"].DefaultCellStyle.Format = "dd-MM-yyyy"; gridTransactionUtilty.Columns["Id"].Visible = false; }