Posts by Leonardo • 119 points
7 posts
-
1
votes1
answer190
viewsA: Show/ Hide table row
An easy way using Jquery using the function 'slideToggle' thus remaining: $('.header').click(function(){ $(this).find('span').text(function(_, value){return value=='-'?'+':'-'});…
-
1
votes1
answer114
viewsQ: Entity Framework (ORM) and Dropdownlist Html
Have two models we map that will work like this : The model Afazer will have a Combobox(Dropdownlist) which will make available the categories for the user to select, but these categories are…
-
4
votes1
answer662
viewsQ: No Auto-Increment Primary Key for CPF in Entity Framework
The scenario is as follows: I have an Employee class. A primary key of it must be the employee CPF that the user type. The Problem: the key follows a default auto increment, not going according to…
-
0
votes2
answers2854
viewsA: Choose folder to save a file
You can try the following : import TkInter, tkFileDialog root = Tkinter.Tk() dirNome = tkFileDialog.askdirectory(parent=root, initialdir="/",title ='Selecione a pasta')…
-
0
votes2
answers800
viewsA: Slow SQL LINQ C# Entity Framework problems
I was using the context to do all the research, so when I gave the command db.clientes.Tolist(), within my context class I have other models, so he would go one by one (creating the mapping), then I…
-
2
votes2
answers800
viewsQ: Slow SQL LINQ C# Entity Framework problems
I am using Entity Framework, I have a list of objects (data taken from the database) with data from Clients, public virtual DbSet<clientes> clientes {get;set;} public…
-
3
votes3
answers1689
viewsQ: How to make visual form inheritance in Windows Forms?
I have a form base that will be the form 'Dad, with three buttons on it. Add, Delete and Change. I’m gonna use the formbase to standardize my registration screens, so each registration screen when…