Posts by Iago Correia Guimarães • 799 points
26 posts
-
1
votes1
answer3276
viewsQ: C# - Separate/cut string by commas (but with monetary value included in the string)
I have a problem reading a txt file that has its columns separated by comma but also has monetary values that are being cut and should not, because they are in quotes. Follow example of the line:…
c#asked Iago Correia Guimarães 799 -
1
votes5
answers1538
viewsA: How to run an event once?
You can use a boolean variable to know if it is the first time the event is being fired and then set it to false. var primeiravez_mouseenter = true; $('.oi').mouseenter(function(){…
jqueryanswered Iago Correia Guimarães 799 -
1
votes3
answers637
viewsA: Leave paging fixed using jQuery datatable
To leave the pagination above the table, just use the option sDOM API itself to rule that paging will be above. This way: $(document).ready(function(){ $('#myTable').DataTable( { "sDom":…
-
0
votes3
answers60
viewsA: Javascript does not follow the algorithm flow
Your GET call is running synchronously and until its output the subsequent functions have already been executed. I suggest you use the GET call as follows (async false): $.ajax({ url :…
-
3
votes1
answer170
viewsA: How to add query in a Datagridview?
Opa, since you already have the class ready and with connection already made, just add this method in your Mysqlclient class public DataTable ExecuteDataTable(string Query) { MySqlCommand cmd = new…
-
2
votes1
answer358
viewsA: Highcharts: How to make the chart appear even without data?
In accordance with documentation you can do this by setting the property showAxes for true. $('#container').highcharts({ chart: { showAxes: true } });…
-
2
votes2
answers9548
viewsA: Curves / Waves in CSS
Fiddle Source css #wave { position: relative; height: 70px; width: 600px; background: #e0efe3; } #wave:before { content: ""; display: block; position: absolute; border-radius: 100% 50%; width:…
-
0
votes2
answers4104
viewsA: How do I access and manipulate a web page in the same way that the user would access a web page?
I’m not sure I understand exactly what you need. If you are doing a windows Forms project that from behind accesses a website (forum) you can use the Webbrowser: WebBrowser oWebBrowser = new…
-
2
votes2
answers1405
viewsA: SUM in SELECT with LEFT JOIN being multiplied
See if it helps: SELECT conta.id, conta.nome, (select count(*) from produto where produto.idqual = conta.id) QtdProdutos, (select count(*) from seguidores where seguidores.idqual = conta.id)…
-
0
votes2
answers223
viewsA: SELECT sort by the quantity of another SELECT
I would change a little the way to make the query: SELECT conta.id, conta.apelido_usuario, count(produto.*) QtdProdutos FROM conta INNER JOIN produto ON produto.idconta = conta.id WHERE…
-
1
votes1
answer86
viewsA: Sync CSS Animation - Two Objects in a Row
I used absolute positions in the elements and margin-left to move them. used the same animation, but in one of the elements I played a delay to start. see if it helps…
-
5
votes2
answers21680
viewsQ: Redeem the largest number of a matrix with criteria
I need some formula or logic to rescue the largest number of a matrix, but with certain criteria. As well as the formulas CONT.SES and SOMASES that counts and sums the numbers of a matrix when the…
excelasked Iago Correia Guimarães 799 -
6
votes3
answers8129
viewsA: Loading in ajax
First choose a gif of your taste: this site has some many good: http://ajaxload.info/ Now, let’s set up: put the modal in HTML (this is the element that will appear on the screen with "loading..."):…
-
3
votes1
answer42
viewsA: Doubt in excel
taking into account that your reference will be in cell A1, you can use the following formula:…
excelanswered Iago Correia Guimarães 799 -
4
votes1
answer12788
viewsQ: Rounding of hours (every 30 minutes)
Does anyone have any idea of any logic for rounding the hour, but every 30 minutes? Example: vem assim -> vira assim 15:34:32 -> 15:30 15:47:21 -> 15:30 16:00:40 -> 16:00 17:28:30 ->…
-
0
votes2
answers76
viewsA: Is it possible to use min, max and step in CSS?
you cannot change the attribute value of an element with css but you can define the style of a given element by its value using the date attribute of html. Example: <input id="delai"…
-
0
votes2
answers322
viewsA: Onclick calling function javascript deletes textbox htm
Dude, if you use Jquery, you can use code this way: function novo() { var form, quant; if (parseInt(i) < 51) { form = "<table width='96%' border='0'><tr><td width='8%'…
-
1
votes2
answers392
viewsA: Variable value Undefined js
Correcting: receive this parameter in this way: console.log(JSON.parse(data.responseText));
-
5
votes3
answers1270
viewsA: How to remove the first item from an array without for or foreach
Use the following code: List<int> arr = new List<int>(new int[]{1, 2, 3, 4, 5}); arr.RemoveAt(0); Source:…
-
2
votes2
answers3902
viewsA: C# - How to remove the Maximize bar, Minimize, but only keep one Close button?
How to do without using code (designer mode only): Open the Form1.Cs click on your form and press F4 to open the properties select "false" for the "Maximizebox" property" select "false" for the…
-
1
votes2
answers931
viewsA: C# Webmethod - Send and Receive the same object (custom) via Parametro
I solved the problem by creating a constructor with no parameters, setting all properties to string and adding the set method to all properties. This caused . net to recognize the object coming via…
-
1
votes2
answers931
viewsQ: C# Webmethod - Send and Receive the same object (custom) via Parametro
My code: Object: public class Person { private string _Nome; private DateTime _Nascimento; public string Nome { get { return _Nome; } } public DateTime Nascimento { get { return _Nascimento; } }…
-
1
votes2
answers1089
viewsA: Is there an online server where I can send a form made in Android with Json to test?
There’s a nice Webservice for you to take this test: is to search address by zip code http://viacep.com.br/ws/passes the zip code here/json/ example: http://viacep.com.br/ws/01001-000/json/…
-
11
votes5
answers1091
viewsQ: Pros and cons of a 100% HTML/Javascript web application
I am seriously thinking of developing a web application, using only HTML/Javascript on client-side for performance gain and by which, any and all necessary communication with the server is made…
-
1
votes1
answer101
viewsA: Problem sending email using Smtpclient C#
in what part of your code you have prompted this object? try this: var objClientSmtp = new SmtpClient(_host, _port); // sendo o host e a port que você vai usar objClientSmtp.UseDefaultCredentials =…
c#answered Iago Correia Guimarães 799 -
2
votes1
answer714
viewsQ: Mysql - Update to null Unique column
Good afternoon, you guys. I would like to know if there is a possibility of UPDATE for NULL where the field allows only values UNIQUE. I tried that way: update FUNCIONARIO set codigocartao = NULL…
mysqlasked Iago Correia Guimarães 799