I use VB.NET and SQL, how can I make a SQL query to obtain the records by year and month only? since normal queries are usually made by year, month and day, in this case I want to search for the records of '2016-10'
Is there any way to detect that the app is running on Tablet
or on Smartphone
?
Until now I do it by detecting the width of pixeles
, but I find the Samsung Galaxy S3, S4 range... that have more resolution than a tablet and it is not optimal.
Hello, I am working with Entity Framework Code First, the environment is desktop (Windows Forms) and my query is the following.
I need to load a DataGridView with only two properties, id and description, can this select be done with linq?
The idea is to load only those two properties of the entity, not to bring me the entire entity. how can it be done via linq, using IEnumerable to fetch a list?
public IEnumerable<Proveedor> GetProveedor()
{
//TO DO....
}
It's just a query that with what Leandro offers me is already solved, I just wanted to avoid creating an Extended Provider class where I put my ProviderId, Social Reason properties With this I would be able to solve that the rest of the columns are not brought to the DGV
I'm starting to read about spring framework, where in the course they use maven and there are already things that I don't understand, some of which have nothing to do with spring or maven, but more with java.
Well, the first thing is, does maven, when adding a dependency to the pom.xml file, automatically download the library (the classes) to my project?
The second question comes with this image:
Why, when making a project with Spring or maven, do I get so many folders that don't have any content? (Ex: src-target)
I have the need to search for a text type value but I don't know in which table it could be stored, so I would like to know if there is any way to search in all the existing structures within the same SQL database.
Suddenly a command could exist or a store procedure could be created that can do this type of work in a general way.