asp.net - Pass GridView column value to Javascript function - OnClientClick -
i have grid view this: <asp:sqldatasource id="sqlpersistentoffenders" runat="server"></asp:sqldatasource> <asp:gridview id="gvpersistentoffenders" runat="server" datasourceid="sqlpersistentoffenders" allowpaging="true" autogeneratecolumns="false"> <columns> <asp:templatefield headertext="personid" visible="false"> <itemtemplate> <asp:label id="labcreuser" runat="server" text='<%# bind("creuser")%>'></asp:label> </itemtemplate> </asp:templatefield> <asp:templatefield> <itemtemplate> <asp:button id="buttonsendemail" runat="server" commandname="sendemail" commandargument="<%# ctype(container,gridviewrow).rowindex %...