cancel
Showing results for 
Search instead for 
Did you mean: 

Grid - Insert new row with data

Former Member
0 Kudos

Hi All,

i have a data set and need to append the data to existing grid. how can i add row with details one by one line?

Accepted Solutions (1)

Accepted Solutions (1)

pedro_magueija
Active Contributor
0 Kudos

Hi Yin,

If this is a user defined grid you can use something like this:


grid.DataTable.Rows.Add();

int lastRowIndex = grid.DataTable.Rows.Count - 1;

grid.DataTable.SetValue("Column Name", lastRowIndex, value);

Good luck.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Answers (0)