Torna al Thread

'dichiari il btndel per manipolare e controllare il valore del linkbutton che ha fatto scattare l'evento per ciò otterrai la riga cliccata (tutto 'dipende dalla key da te usata Dim btnDel As LinkButton = CType(sender, LinkButton) dim cmdDel as new oledbcommand("Delete from XXXx WHERE key='" & btndel.commandargument & "'",connessione)
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5