Tema: ButtonColumn
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 01/04/2005, 12:36
Avatar de RootK
RootK
Moderador
 
Fecha de Ingreso: febrero-2002
Ubicación: México D.F
Mensajes: 8.004
Antigüedad: 23 años
Puntos: 50
Cita:
..
..
<ItemTemplate>
<asp:Button Runat=server Text="Desbloquear" CommandName="Desbloquear" />
<asp:Button Runat=server Text="Cambiar" CommandName="Cambio" />
</ItemTemplate>
y en code:


Cita:
If e.CommandName = "Desbloquear" Then
'hago algo
'..
'...
lblSelections.text ="El cambio de password fue realizado satisfactoriamente"
End If

If e.CommandName = "Cambio" Then

'hago otra cosa

End If