Posts by Junior • 63 points
3 posts
-
1
votes2
answers110
viewsA: Datagrid show foreign key value instead of ID
People follow the method that worked for me here: public List<LiberacoesModelo> preencherGrid() { LiberacoesModelo liberacao = null; MySqlCommand comandoSql = null; try { abrirConexao();…
-
3
votes2
answers110
viewsQ: Datagrid show foreign key value instead of ID
I’m showing the data from a table(TB_LIBERACAO) in a DataGrid, however this table has 2 foreign keys from the tables TB_CARROS and TB_MOTORISTAS TB_LIBERACAO idLib idCarro(FK) idMotorista(FK)…
-
2
votes1
answer699
viewsQ: Grab Id of an objects in the combobox
In a Frame for registration of cars, I have a combobox1 with the brands of cars and another combobox2 with the models, when I choose a brand in CB1 only appear in CB2 the models related that brand.…