All Questions

2
answers

What are the Try / Catch blocks?

I would like to know what the try...catch blocks are. I would like more information in Portuguese, because in English I did not understand much, only that it would be a kind of if...else . What are these try...catch bl...
asked on 07.03.2017 / 19:20
1
answer

SQL: How to count values in different columns

I would like to know how to count values in different columns. Generic example: ID - COLUNA1 - COLUNA2 1 - foo - Bar 2 - - Foo 3 - Qux - Bar 4 - Bar - I expect as a result count - value 2 - Foo 3 - Bar 1...
asked on 11.01.2016 / 11:09
4
answers

SQL Embedded in C #

I have a C # application that uses a MySQL database with Entity Framework. However, the size of the database is ridiculously small, so I do not think it's worth having a MySQL database server just to run this application. What approach would...
asked on 02.09.2016 / 14:35
2
answers

IF to check quantity required for given KG

I need to make an IF in Javascript. I'll explain: A customer sells: 40kg barrels. 3kg tube. I'm not sure how to do this IF. The idea is to show in the field qtd40kg Only multiples of 40, which is the weight, ie: If I need 4...
asked on 16.01.2016 / 23:55
3
answers

Create a mask for cpf using xamarin

Hello, I would like to create a mask for cpf using edittext, but I was not successful; I searched the net and found several examples in java, but I could not adapt to C #, could anyone help me? Thank you in advance.     
asked on 23.12.2015 / 17:42
1
answer

Is HTTPS enough to protect a login area?

Considering a system in which you have the correct server-side treatments, validations and protected against SQL, XSS and brute-force injection attacks, it would be enough to just forward the login area to the HTTPS protocol or should I change...
asked on 23.12.2015 / 13:05
6
answers

Convert div text to number

I'm trying to get the text from this structure: <span id="our_price_display">R$ 71,90</span> And I would like it to return only 71,90 . But in the structure I created, I can not get the "R $" from the text and only reco...
asked on 24.11.2016 / 19:44
2
answers

Input of type "text" similar to the system of tags of the Stack Overflow

How to make a input of type text to use in a form that I need to add tags, just as it exists in Stack Overflow ?    Note       Whoever responds, the answer can be extremely large if it is to quote   the server-side ren...
asked on 11.01.2016 / 02:32
3
answers

Uncheck a checkbox when clicking outside it

HowcanIunmarkacheckboxifIclickonanotherfieldinthesite?Thecheckboxissothatwhenthestateischecked,it'drags'mymenufrom-65%to0andappearsonthescreen,beingusedinaresponsivemobilelayout.UnfortunatelyIhavenoideahowthiscanbedone,butIbelieveit'sinjavascri...
asked on 29.12.2015 / 18:43
3
answers

Avoiding line breaks in text areas [duplicate]

I have a normal textarea <textarea placeholder=" Digite aqui" class="form-control"></textarea> I wanted the user to press enter when he did not break the line, but already sent the content. Could you do this with a input...
asked on 21.12.2015 / 19:20