All Questions

1
answer

How to read .txt file?

How do I read a .txt file that is written in rows and check if a line in that file has a value if you make a check in checkbox . Example: Files txt: 123 234 2456 If you have the file 123 , check the checkbox 123...
asked on 05.09.2015 / 19:10
1
answer

What is the correct way to use BCrypt?

I want to give a satisfactory level of security to my system. In my searches I found several functions that create hashs for passwords, but of all of them, what I saw the most recommended were PBKDF2 and BCrypt. Home In all searches however, wha...
asked on 18.09.2015 / 17:04
1
answer

Error with sql Like

How do I extract all fields beginning with '1.' from the database? In my statement I used LIKE but it did not have any return, but if I remove the point it already returns something, but it returns fields that I do not want, eg 10.1; What's wron...
asked on 02.12.2015 / 11:02
3
answers

Doubt of how to use a Less class with RAZOR

I'm researching a little to implement a feature to make life easier when programming. Is it possible to do this? We're using VS2013 with razor . I have the following class Less: .minColuna(@a) { -webkit-min-width: @a; -moz-...
asked on 10.08.2015 / 20:10
1
answer

Fill Combobox with Dapper

I'm using a combobox component with Dapper , but I'm not able to fill in the combobox correctly, LookUpEdit ctlControle = (LookUpEdit) pr_Controle; var parametro = new DynamicParameters(); parametro.Add("@TABELA_NOME", pr_TabelaNome); parame...
asked on 20.08.2015 / 01:54
1
answer

MVC Folder Structure

Hello. I'm trying to build my own application using the MVC standard. I understand the separation of each item (Model, View and Controller). However, I want to do some sort of separation between Front-end and Back-end, since some Backend Control...
asked on 08.09.2015 / 20:04
1
answer

Precedence of operators with pointers

Having, for example, the following instructions: int i=10, j=20; int *pti, *ptj; pti = &i; ptj = &j; What is the meaning of j = pti == ptj; and i = pti || ptj; ? In addition, I've read that summing the subtraction b...
asked on 03.08.2015 / 14:46
3
answers

Access content from another project in the same Solution

The case is as follows: I have a Solution with two Projects, one Administrative and the other a WebSite, both using C # and MVC4. In the first project I save images and files in a Documents folder, and when accessing the WebSite I wo...
asked on 24.08.2015 / 20:04
2
answers

Why is it giving error when trying to compile the program with this library (IUP)?

Adding a C library is giving this error when trying to compile ||=== Build: Release in iup (compiler: GNU GCC Compiler) ===| obj\Release\main.o:main.cpp|| multiple definition of 'WindowProcedure(HWND__*, unsigned int, unsigned int, long)@16'|...
asked on 06.09.2015 / 02:23
2
answers

Know if a class is native to JAVA or created by the User?

I've created a method that uses reflection to execute getters over an object, but I need to know if the class is native to JAVA, for example: java.lang.String , or if it was implemented by the user: br.com.foo.bar . In PHP I can tell if it...
asked on 30.07.2015 / 19:08