al click su un bottone esterno alla griglia, ad esempio:
codice:Protected Sub bt_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles bt.Click For Each riga As GridViewRow In GRID.Rows If riga.RowType = DataControlRowType.DataRow Then If CType(riga.FindControl("ck"), CheckBox).Checked = True Then Ctype(riga.FindControl("TXImporto"),Textbox).visible = false Ctype(riga.FindControl("TXImporto"),Textbox).text = "0" End If End If Next End Sub

Rispondi quotando