Posts by Camuratti • 13 points
3 posts
-
0
votes3
answers613
viewsA: How popular Dropdownlistfor with information from a foreign key?
A friend of mine helps me the problem was solved that way: [Display(Name = "Modelo do veículo")] public int? ModeloVeiculoID { get; set; } [ForeignKey("ModeloVeiculoID")] public virtual…
-
1
votes2
answers464
viewsQ: Error class expected!
With this code I get the error: error: class expected import javax.swing.JOptionPane; public class MenorIdade { public static void main(String[] args) { String[] nomes = new String[5]; int [] idades…
-
0
votes3
answers613
viewsQ: How popular Dropdownlistfor with information from a foreign key?
I have these two classes and I need to popular a Dropdownlistfor with the information of the classes ModeloVeiculo, this Dropdownlistfor will be made in the create.cshtml of the class Veiculo, I…