I have an ASP.net dataview grid, and I want that each row should have a function written with onclick property and cursor pointer.
When the file is compiled and then opened in a browser, the rows should look like this:
<tr onclick = 'update( 1 )'>
<td>..... </td>
</tr>
<tr onclick = 'update ( 2 )'
<td>..... </td>
</tr>
etc.
You can do it in the
RowDataBoundevent of the Gridview.