# DataGridViewDataUpdatedEventArgs

Namespace: **Wisej.Web**

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

Provides data for the [DataUpdated](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#dataupdated) event.

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

```csharp
public class DataGridViewDataUpdatedEventArgs : EventArgs
```

{% endtab %}

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

```visual-basic
Public Class DataGridViewDataUpdatedEventArgs
    Inherits EventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) DataGridViewDataUpdatedEventArgs(firstRow, lastRow)

Initializes a new instance of the [DataGridViewDataUpdatedEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewdataupdatedeventargs) class.

| Name         | Type                                                        | Description                                                     |
| ------------ | ----------------------------------------------------------- | --------------------------------------------------------------- |
| **firstRow** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | The index of the first row that has been updated on the client. |
| **lastRow**  | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | The index of the last row that has been updated on the client.  |

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) FirstRow

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): The index of the first [DataGridViewRow](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewrow) that has been loaded on the client.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) LastRow

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): The index of the last [DataGridViewRow](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewrow) that has been loaded on the client.

## Used By

| Name                                                                                                                                                   | Description                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DataGridViewDataUpdatedEventHandler](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewdataupdatedeventhandler) | Represents the method that will handle the [DataUpdated](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#dataupdated) event of a [DataGridView](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview). |
