I want to select mysql column names and values and display them for each value as rows in a gridview table. Here is an illustration
+------+-------+------+-------+-------+
| id |amt1 |amt2 |amt3 |amt4 |
+------+-------+------+-------+-------+
| 1 | 300 | 500 | 460 | 780 |
+------+-------+------+-------+-------+
| 2 | 450 | 230 | 320 | 410 |
+------+-------+------+-------+-------+
| 3 | 350 | 540 | 430 | 310 |
+------+-------+------+-------+-------+
I want this mysql table to be displayed as this in the gridview table
+-------------+--------+
|particulars | amount |
+-------------+--------+
| amt1 | 300 |
+-------------+--------+
| amt2 | 500 |
+-------------+--------+
| amt3 | 460 |
+-------------+--------+
| amt4 | 780 |
+-------------+--------+
where id = 1.