Hi,
There are 2 grids in which i have to display data in sorted form
for 1st grid - data with high price
for 2nd grid - data with low value
i am getting the data in a string array (string[5][4])
i.e. data[0-5]{string []{"value","high price","low value","qty"}}
e.g.
string[][] newval = new string[][] {
new string[]{"12","113.12","121.90","12"},
new string[]{"12","111.15","121.95","12"},
new string[]{"12","115.16","121.92","12"},
new string[]{"12","116.13","121.98","12"},
new string[]{"12","114.11","121.95","12"}};
each time data is coming in the format above & with 5 rows i have to fill these grids as(first 2 values for grid 1 & next 2 values for grid 2)
grid 1
high price-- value
grid 2
low value -- qty
i have to create a string array of 10 from the coming data as
string[10][4] thus to display 10 rows in each grid condition grid 1 to be sorted on high price(data type double) and grid2 to be sorted on low value (data type double).