ryam
10-17-2006, 08:01 AM
How can i make it work if i got 2 different push button column in 1 datagrid,the datagrid is showing user information,one push button to edit profile while another to reset password.
|
Click to See Complete Forum and Search --> : Problem with asp.net datagrid edit function ryam 10-17-2006, 08:01 AM How can i make it work if i got 2 different push button column in 1 datagrid,the datagrid is showing user information,one push button to edit profile while another to reset password. lmf232s 10-17-2006, 03:45 PM well if one is a reset button you could code it just like a html reset button <input type=reset .........> You can also apply a commandName to each button and then in code you detect which commandname is passed in, then execute the correct code. Select Case e.CommandName Case "Edit" Case "Cancel" Case "Update" Case "Exit" End Select webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |