# DataGridViewDataReadEventHandler

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Represents the method that will handle the [DataRead](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#dataread) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public delegate void DataGridViewDataReadEventHandler(Object sender, DataGridViewDataReadEventArgs e)
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Delegate Sub DataGridViewDataReadEventHandler(ByVal sender As [Object], ByVal e As DataGridViewDataReadEventArgs)
```

{% endtab %}
{% endtabs %}

## Parameters

| Name       | Type                                                                                                                                       | Description                                                                                                                                                                |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **sender** | [Object](https://docs.microsoft.com/dotnet/api/system.object)                                                                              | The source of the event.                                                                                                                                                   |
| **e**      | [DataGridViewDataReadEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewdatareadeventargs) | A [DataGridViewDataReadEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewdatareadeventargs) that contains the event data. |

## Fired By

| Name                                                                                                   | Description                                                    |
| ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------- |
| [DataGridView.DataRead](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#dataread) | Occurs when the client requests a set of rows from the server. |
