Posts by Eric Wu • 240 points
9 posts
-
0
votes3
answers1400
viewsA: Change Javascript Window.Open to open an Iframe
You only need to make one if (document.incluir.balancete_arquivo.value != ""){ var frame = document.getElementById('iframe') //Id do seu iframe aqui frame.src = '<%=BARRASTATUS%>'; //…
-
0
votes1
answer442
viewsA: Connection Sql Server Database . MDF does not work C#
The problem is that the program is waiting for the base (mdf file) in a location on the machine where the program is running. In order for the programme to be implemented any machine, the bank must…
-
0
votes2
answers668
viewsA: I can’t parse json with brackets in c#
It is because you are trying to convert a collection into a single object. When Json has brackets, it is necessary for the output object to be a collection. JToken[] result = JObject.Parse(json);…
-
1
votes1
answer102
viewsA: Where de query using multiple list properties
You are falling into a matter of equality of different classes. To use a Contains or a ==, it is necessary that the two classes have some form of comparing. To do this, create a method that returns…
-
1
votes1
answer239
viewsA: C# - Decode JSON array
The JSON you are trying to convert is a coleção, not a single object. (Note the brackets "[" and "]" in the text) Try public class pegarID { public string nome { get; set; } public string cidade {…
-
1
votes1
answer884
views -
1
votes1
answer1089
viewsA: Calculate distance between two indexes of a matrix?
If the code was written correctly, for (int i = 0; i < 1; i++) will fall in the first loop. Will take over i = 0in the first iteration, fall in condition i<1 and return false . Doesn’t even…
-
0
votes1
answer411
viewsA: I cannot insert plain text in mysql with text column
By showing the error, your column is typed as "table", which does not allow inserting text. Gives a show columns from _nomeTabela_ to see if the guy got it right. Another alternative would be the…
-
1
votes4
answers1496
viewsA: jquery datepicker error does not work
Dude, I notice you’re redefining the value of textbox. On the first line inside the $(document).ready({}), you put var textbox = '<%=TextBoxDataInicial.ClientID%>' var textbox =…