Forum Games

Ctrl + V

Submitted by Day, , Thread ID: 7130

Thread Closed

RE: Ctrl + V

#338
ViewBag.FiadorID = new SelectList(db.Clientes.Where(e => e.CliFiador == true).OrderBy(o => o.CliNome), "ClienteID", "CliNome", imovelVM.FiadorID);
ViewBag.InquilinoID = new SelectList(db.Clientes.Where(e => e.CliInquilino == true).OrderBy(o => o.CliNome), "ClienteID", "CliNome", imovelVM.InquilinoID);
ViewBag.ProprietarioID = new SelectList(db.Clientes.Where(e => e.CliProprietario == true).OrderBy(o => o.CliNome), "ClienteID", "CliNome", imovelVM.ProprietarioID);
ViewBag.TipoDeImovelID = new SelectList(db.TiposDeImovel.OrderBy(o => o.TipImoNome), "TipoDeImovelID", "TipImoNome", imovelVM.TipoDeImovelID);

Users browsing this thread: 12 Guest(s)