# Gridview Data

**URL:** <https://discuss.workflowgen.com/t/gridview-data/1155>\
**Category:** Form Designer\
**Created:** [August 31, 2018, 10:04pm UTC](https://discuss.workflowgen.com/t/gridview-data/1155 "2018-08-31T22:04:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [September 5, 2018, 10:59pm UTC](https://discuss.workflowgen.com/t/gridview-data/1155/2 "2018-09-05T22:59:49Z")

</div>

Hi,

Whenever there is a postback, the gridview retrieves the data from the **Form Data**.  
I recommend you to modify the GridView in the form data itself by using the **FormData** object:

Example:

```auto
this.FormData.Tables["REQUEST_GRIDVIEW1"].Rows.Clear();
System.Data.DataRow newRow = this.FormData.Tables["REQUEST_GRIDVIEW1"].NewRow();
newRow[0] = "Value of 1st column";
newRow[1] = "Value of 2nd column";
newRow[2] = "Value of 3rd column";
this.FormData.Tables["REQUEST_GRIDVIEW1"].Rows.Add(newRow);
this.FormData.Tables["REQUEST_GRIDVIEW1"].AcceptChanges();
this.SaveFormData(this.FormData);
this.BindFormDataToFields(this.FormData);

```

Regards,  
Eddy.

---

_[View the full topic](https://discuss.workflowgen.com/t/gridview-data/1155)._
