I'm working with C # in WPF, I'm using the data from an api, I have a datagrid that I filled with user data such as name, email, phone, status but in state it gives me 1 if it is active and 0 if it is deactivated , what I need in the table to show me the word Active if it is 1 and Deactivated if it is 0.
so I filled the datagrid
public void ListadoUsuarios()
{
List<UsuarioDTO> usuarios = new List<UsuarioDTO>();
usuarios = GlobalVars.Client.GetAllUsuarios();
gv_usuarios.ItemsSource = usuarios;
}
Thanks !!