Click here to Skip to main content
15,893,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
JavaScript
var gvtable = document.getElementById('<%=GridView1.ClientID %>');

        for (var row = 1; row < gvtable.rows.length; row++){

          for (var col = 0; col < gvtable.rows[row].cells.length; col++){
              gvtable.rows[row].cells[col].textContent;
           }
       }
Posted
Updated 3-Mar-15 18:31pm
v2
Comments
Modi Mayank 4-Mar-15 11:51am    
Your question is not clear. What you are trying to get here? If you wants to import excel sheet data from client-side using JavaScrpt/jQuery, I think you can't do that. For that, you need support of server-side coding to import excel data[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900