View Full Version : assign gridview values to an array?

09-11-2011, 07:08 PM
hi guys i hava gridview gvcustomers with following fields

and i have a javascript function in my aspx page

fucntion Customer()


AddCustomer(lat1,long1)--- row1 of gridview lat long
AddCustomer(lat2,long2)--row2 of gridview lat long


in the above function i would like to loop through the gridview and get the latitude and longitude colmns in the function instead of hardcoding as i have been doing now...thank you i advance