<script type="text/javascript"> function Edit() { document.getElementById('<%=btnEdit.ClientID%>').click(); } </script>
protected void btnEdit_Click(object sender, EventArgs e) {GridViewRow row; row = grdUsers.SelectedRow; }
if (dataGridView1.SelectedRows.Count > 0) { DataGridViewSelectedRow currentRow = dataGridView1.SelectedRows[0]; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)