Posts by Bart • 334 points
14 posts
-
2
votes3
answers576
viewsA: How to get the ID value of a button?
To obtain the id dynamically can be used the command below in Javascript: botao = document.querySelector(".classe-pai button") id = botao.id id will be with the value of this tag because a css query…
-
0
votes1
answer260
viewsA: False return when comparing two python identical strings
I checked the binary of the project database and as the image below may be that there is a typo at the time of having added the test data and therefore the result of the expression string ==…
-
0
votes1
answer82
viewsA: Cannot read Property 'getBoundingClientRect' of Undefined
It is necessary to pass the variable as a parameter el also in the first expression of its page.evaluate(..., el) so that it is different from Undefined when executing the function offset: el =…
-
0
votes1
answer133
viewsA: Anchor link with file download
Put in attribute href tag a the file link to be downloaded: HTML: <div class="txt-center"> <a id="anchor" href="https://speed.hetzner.de/100MB.bin">Solicite agora</a> </div>…
-
0
votes1
answer333
viewsA: Update React component with window.localStorage
Is not possible alter the state of components who are brothers, because React handles one-way data. See the following schema to understand how React handles data between components: Note that the…
-
0
votes2
answers83
viewsQ: Accessing variables from a struct
I am studying C and I am doubtful in the difference of the following lines: (*depois).agora = 20 and *depois.agora = 20; From what I understand the point . has priority and the compiler would try to…
-
0
votes0
answers61
viewsQ: Writing in Textbox freezes form
I have a form that has a Textbox and would like to write in it but give an effect of Typewriter so that the text is not added fully "dry". I created a method that takes the text I’d like to add and…
-
2
votes2
answers356
viewsQ: ASP.Net - Browse Radiobuttonlist?
I have several RadioButtonList in a form, in the event of submitting the form I want to go through them and get the selected value. I tried that: protected void btnEnviarQuestionario_Click(object…
-
0
votes0
answers288
viewsQ: Error opening project files
I am trying to open files in my project but it is giving error when I try to access any of them. I can compile anyway. The files exist, I can edit them outside the IDE, the names are correct. How…
visual-studioasked Bart 334 -
2
votes2
answers557
viewsQ: Add hyperlink to Messagebox c#
It is possible to customize the MessageBox.Show("http://www.google.com/"); so that this link is a hyperlink and when I click open a browser? The only possibility really would be to create a new…
-
3
votes1
answer365
viewsQ: Create matrix (line header) in Datagridview
Would you somehow in C# use this pointed column of the image to add value to it as if it were a "header"? I’m using the DataGridView below to show an array. The matrix header is already being shown…
-
0
votes1
answer105
viewsA: Error in the webservice calculator implementation
Apparently you’re trying to use a class builder Calculator who receives a Datainputstream, but Java says the builder was expecting a String and a int. Java did not find the constructor you wanted to…
-
5
votes2
answers1969
viewsQ: How to get the Primary key Identity of an inserted record?
I need to create a stored procedure to insert a game into my database. A game relates to a championship through the table campeonatoJogo. The tables are basically: create table jogo( codJogo int…
-
2
votes2
answers1439
viewsQ: What is the meaning of this line in Java?
I did not understand the following line of the code below: ret += this.elem[i]+(i!=this.ultimo?", ":""); What are the meaning of these operators i! , ? and : { String ret = "{"; for (int i=0;…