I just wanna update a gridview, but the thing is values for the gridview will be generated inside a for loop.

for(int i=0; i< 10; i++)
string x1 = SomeMethod(i).ToString();
string x2 = SomeMethod(i).ToString();

// This x1 and x2 values need to be stored in DataSet or Table and then have to bind it to Gridview

Finally I need all the x1 and x2 (from 0 to 9) values need to stored in the dataset and displayed in the gridview.

Is it Possible????

Can someone say how it can be done?

Thnx in Advance