private void CustomerBind(int StoreInOrderId) { BLL.Customer customerBLL = new BLL.Customer(); Customer customer = customerBLL.GetModelByStoreInOrder(StoreInOrderId); if (customer != null) { hidCustomerId.Value = customer.Id.ToString(); labCustomerName.Text = customer.Name; } }