protected void LoadAmcv() { Business.Service.ServiceBook objServiceBook = new Business.Service.ServiceBook(); string customerName = txtCustomerName.Text.Trim(); string machineId = txtMachineId.Text.Trim(); DataTable dt = objServiceBook.Service_AMCV_NotProcessed_GetAll(customerName, machineId); if (dt != null) { gvAmcv.DataSource = dt; gvAmcv.DataBind(); } }