Since GridView is just a table when rendered, all it takes is the table
object model and dhtml:
function updateGrid(iRow, sName, sCity, sState){
//new row
var gridView = document.getElementById('GridView1');
var oRow = gridView.insertRow();
var oCell = oRow.insertCell(0);
oCell.innerHTML = sName;
oCell = oRow.insertCell(1);
oCell.innerHTML = sCity;
oCell = oRow.insertCell(2);
oCell.innerHTML = sState;
/*update existing row
gridView.rows[iRow].cells[0].childNodes[0].nodeValue = sName;
gridView.rows[iRow].cells[1].childNodes[0].nodeValue = sCity;
gridView.rows[iRow].cells[2].childNodes[0].nodeValue = sState;
*/
}
--Marc