Posts by Antonio Jr • 171 points
7 posts
-
2
votes2
answers69
viewsA: How to invert grid data
You can do string.Format("{0:dd/MM/yyyy}", DateTime.ParseExact("12/21/2016", "MM/dd/yyyy")); You replace "12/21/2016" with your string that is the date, or if you already have the Datetime object,…
c#answered Antonio Jr 171 -
1
votes1
answer340
viewsA: Expand MVC structure and modularize by files?
Buddy, you’re going on a rationale as well, to lighten up a little bit, the idea is to take out any and all structural code, and enable everything in object orientation as you can do this? First you…
-
2
votes2
answers396
viewsA: How to play relationship in Objects?
You can use class composition with List for multiple values Example: Request 1:N Pedidoitem In your Request class, you would have: public class Pedido { private int idPedido; private double…
-
0
votes1
answer1421
viewsA: Inner Join - return by name id in column of another table
I believe that what you’re looking for would go something like this: SELECT * FROM post JOIN categoria ON categoria.id_categoria = post.categoria_id WHERE id_post = 'id_do seu post' You see, I’m…
-
3
votes1
answer355
viewsA: Import java classes to a project automatically?
Friend you can use the package com.sun.tools.javac JDK to compile a block of code at runtime, i.e., your java code compiling other java code during execution. An example: int errorCode =…
-
1
votes1
answer54
viewsA: In which cases work with more than one php database?
I believe that the best way is to work with tables, not a bank for each company. Because a bank for each company, means different connections in the database to access data from each company, this…
-
2
votes4
answers543
viewsA: Variables operating in more than one method
Well, you don’t have to instantiate the class again every time you access a method of it, you know when you give a "new calculator();" you’re creating another instance of that object in memory, with…