I just using a sql data reader and outputting the data into a regular html
table using
<%Response.Write(objSQLDataReader(0) %>
i was hoping there was a way to put
<asp:LinkButton ID="lbtnDelete" onclick="btnDelete"
CommandArgument="<%Response.Write(objSQLDataReader (0))%>"
runat="server">Delete</asp:LinkButton></td>
thank you.
"David Wier" <da*******@davidwier.nospam.comwrote in message
news:u3**************@TK2MSFTNGP02.phx.gbl...
that all depends on how you're displaying the data and what's available
for it, to use
for instance, are you using a a gridview ?
David Wier
http://aspnet101.com
http://iWritePro.com
"Gabe Matteson" <gm*******@inquery.biz.nospamwrote in message
news:Ov**************@TK2MSFTNGP05.phx.gbl...
>>I would like the linkbutton when it is clicked to exectute a delete sql
statement on the current page.
etc.
onclick="btndelete_onclick"
how do i get the linkbutton to pass the database id column value to the
sub procedure so it can delete the record? thanks for any help