void CargaDatosGrid() { ///Creación de la instancia de la clase BLCliente BLCliente oCliente = new BLCliente(); ///Creación de la variable, la cuál obtendrá los datos List <pa_RetornaClienteEmpleado_Result> fuenteDatos = oCliente.retornaClienteEmpleado(this.txtPrimerApellido.Text, this.txtNombre.Text, this.txtCedula.Text, this.txtGenero.Text); ///Agregar al GridView una fuente de datos this.grdListaClientes.DataSource = fuenteDatos; ///Mostrar el GridView this.grdListaClientes.DataBind(); }