Hello, I m trying to read a command name inside _ItemCommand and call functions on different command names
this is what i'm trying to test here
Private Sub DepartmentGrid_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DepartmentGrid.ItemCommand
if e.commandName.toString = "delete"
is this the right way to test commandName cuz for some reasons it will not get into if statement