Hi
I want to export all the data from the UltraGrid including column headers to a Generic list. Could you please send some sample code for this?
It is quite urgent.
Thanks.
Another way to do it would be to simply loop through the grid rows and add each one to your list.
Thanks for the reply.
My UltraGrid is populated with the help of a domain object.
Ultragrid functions like this:
- the user can move the columns in the grid.
- the user can sort the column as per their need.
Now whatever changes done in the grid by the user we need to export it to a new Generic list.
I tried the below code to get the value from the grid but its returning the domain object name.
string s = grid.Rows[i].Cells[j].Value.ToString();
Could you send me a sample code for looping through the grid and putting it in new Generic list?