fetching data from indexed database in HTML 5 and binding to gridview <p>I am fetching data from the indexed database in HTML 5, I am able to successfully get the values but I want it to bind it to some data-grid view of ASP.NET<br> The code which I am using to get the values from the indexed database is </p> <pre><code>if(currentDatabase) { var objectStore = currentDatabase.transaction([objStore]).objectStore(objStore); var traveller = []; objectStore.openCursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var v = cursor.value; traveller.push("id ="+v.id); traveller.push("Name ="+v.traveler); traveller.push("Destination ="+v.destination); traveller.push("Transportation ="+v.transportation); cursor.continue(); } </code></pre> <p>this allows me to store the data in the array, how can I bind it to datagrid view, </p>