Posts by WickedOne • 73 points
7 posts
-
0
votes3
answers236
viewsA: Compare two querys
Solution I obtained: Estado = !catequizandosCheked.Contains(p.PessoaID) ? "unchecked" : "checked"
-
1
votes3
answers236
viewsQ: Compare two querys
I have a query that returns only the catechisms that went to the event: var catequizandosCheked = (from cat in db.Catequizando where cat.Eventos.Any(e => e.EventoID == eventoID) select new…
-
1
votes2
answers1714
viewsA: Send a list of data in a viewbag and receive in a foreach in the view
Problem solved with the query var disponib = (from d in db.Disponibilidade join c in db.Catequista on d.CatequistaID equals c.CatequistaID where c.CatequistaID == d.CatequistaID &&…
-
1
votes2
answers1714
viewsQ: Send a list of data in a viewbag and receive in a foreach in the view
The query data is correct, but I cannot return the data to the view. Controller: var disponib = (from d in db.Disponibilidade join c in db.Catequista on d.CatequistaID equals c.CatequistaID where…
-
3
votes1
answer85
viewsQ: Does not write on screen, turns black and should appear a square 2x2
Pos_Bloco_Ini_x dw 30 ; posição inicial do bloco em x Pos_Bloco_Ini_y dw 30 ; posição inicial do bloco em y Tam_Bloco DW 2 ;tamanho do bloco MOV AH, 00h ;Prepara para definir o modo…
-
0
votes1
answer61
viewsQ: List string in 2 MVC tables
I have 3 models: Pessoa, Catequizando and Inscricao. I intend to make a query that returns the name of the person where CatequizandoID = PessoaID that will appear in a dropdown view CriarInscricao I…
-
1
votes1
answer195
viewsQ: Select two attributes from two different tables in a view
I have the model (superclass) Pessoa and the model Aluno public partial class Pessoa { public Pessoa() { this.Escola = new HashSet<Escola>(); } [Key] public int PessoaID { get; set; } public…