Posts by GustavoGag • 84 points
6 posts
-
1
votes1
answer493
viewsA: How to recover the page HTML generated with Angularjs via C# ?
If you are allowed to edit the website that generates the graph you must extract the data from the graph via Javascript and send to the server, only the data, via an http request. It is not ideal to…
-
1
votes1
answer506
viewsA: Write Listview in SQL Database using Entity Framework and C#
On the record button you will put the Commandname = "Update" or "Insert" will implements the Onitemcommand event from the listview within the method you will get the eventargs Item and through this…
-
1
votes1
answer149
viewsA: How to exchange the text of a cell of a table that is inside a Flowdocument that is in a Richtextbox
I found the code above difficult to understand, for a quick analysis, and transcribed it in link. Replaces the above code by: var colecao = rtb.Document .Blocks .OfType<Paragraph>() //recupera…
-
1
votes1
answer945
viewsA: Doubt about Insert in bank with foreign key using Inline
The problem is that you have placed Wallet as dependent on User and User Portfolio ie you can only enter a Wallet if there is a User linked to it and a User if there is a Wallet. Try to fill in the…
-
1
votes2
answers85
viewsA: Roll dice into a box
Check if the value already exists function JaExiste(Destino, valor) { for(i = 0; i < Destino.options.length; i++) { if (Destino.options[i].value == valor) return true; } return false; } Add value…
javascriptanswered GustavoGag 84 -
1
votes2
answers85
viewsA: Roll dice into a box
function move(input, Destino) { var opt = document.createElement("option"); var valor = input.value; if(valor=="") return; if(valor==0) { alert("sem…
javascriptanswered GustavoGag 84