In ASP.NET, in the client side I used a repetitive method to generate a table with data from a Database. For each entry, I have an asp button to delete each of the entries. Now, I have an issue when I need to pass, for each button it’s ID from the database, and because it’s an <asp:button ... />, I cannot run a server side code line with CommandArgument='<%=id %>’ so I can put it’s ID to each of the buttons. What can I do about it?
In ASP.NET, in the client side I used a repetitive method to generate a
Share
If you have a repeater, you can use like this:
—C#——