Interesting questions
-
1
votes1
answer27
viewsHow to escape Sqldatasource.Filterexpression?
I have a function that adds a filter to the SqlDataSource. That expression contains a LIKE at the consultation. However, if the person places a character such as ', an error (which evidences SQL…
-
0
votes1
answer872
viewsNavbar bootstrap Collapse
I need a customization in a navbar that is the following: First, without the Collapse, appear this way (this I achieved and it is very quiet) Then, when you have smaller screens, turn into 2 buttons…
-
0
votes1
answer87
viewsSet font color in cell in Broffice
I export data from a report to an electronic spreadsheet, depending on what the user has installed on the machine, to Excel or for the BrOffice. My question is when coloring the source of a cell in…
-
1
votes2
answers2062
viewsPass values from a table to a modal dialog (JSP)
Good afternoon, you guys! I’m trying to pass values from a table to a modal window, but I’m not getting... I tried something from jquery, but I don’t know what I might be doing wrong... I’ll post…
-
1
votes0
answers127
viewsAuthentication with Ioni2, Angular 2
I have the class ts Authprovider import { Injectable } from '@angular/core'; import { Http, Response, Headers } from '@angular/http'; import 'rxjs/add/operator/map'; @Injectable() export class…
-
1
votes1
answer276
viewsDatagridview - Edit by Currentrow.Index does not leave Index 1
Note: I’m learning to use Datagrid, so I’m testing some examples. I have this form: And this code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data;…
-
2
votes1
answer13579
viewsCalculate time difference in php
I am trying to show how many hours an employee has worked, however the ways I tried presented incorrect values. Follow the same below: This returns the difference with 3 hours and 2 minutes less:…
-
-1
votes1
answer282
viewsimporting Xml data into Mysql database - Only save the LAST record
In this code all XML records are read, but in the Mysql database only the last XML block is saved. I know that reading each record over-writes the previous one but the strange thing is that I gave…
-
3
votes1
answer223
viewsOverride Property() in Child Class
A few days ago I asked a similar question to this, however, the method employed in creating the property was via decorators (@property and @name.setter). Here I am creating the property via function…
-
-1
votes1
answer30
viewsSpawn of midi python notes
i want to create a game style Guitar I made a prototype in Blender I used as a base a course of Infinity Runner in Blender, I would like to create a Pawn of notes that are contained in a file.midi…
-
1
votes1
answer185
viewsCol-Md-6 falling down instead of standing on the side
I need to make a section as in the image. That’s why I organized it this way. HTML <section class="second-section"> <div class="container"> <div class="row align-items-center…
-
-1
votes1
answer35
viewsError [Nullreferenceexception] - Unity in C#
My code is not working, causing the following error: Nullreferenceexception The point is to jump, but I can only walk: public class player : MonoBehaviour { public float Speed; private Rigidbody2D…
c#asked 4 years, 6 months ago Erick Cavalcante Santos 11 -
0
votes2
answers91
viewsError performing @pytest.mark.parametrize
Where am I going wrong? Bhaskara.py import math class Bhaskara: def delta(self, a, b, c): return b**2 -4*a*c def main(self): a_digitado =float(input()) b_digitado =float(input()) c_digitado…
python-3.xasked 6 years, 10 months ago Daniel Lawand 1 -
-1
votes1
answer906
viewsUpdate a Listview in a Statefulwidget Son Flutter
my main layout features an aapBar, body and bottomNavigationBar through the bottomNavigationBar I update the body with other screens, which show a listview, in the appBar from the main screen I have…
-
0
votes0
answers115
viewsHow to perform sub-discharge with auto-fill
Code that performed the consultation: $parametro = (isset($_GET['parametro'])) ? $_GET['parametro'] : ''; if($acao == 'consulta'): $sql = "SELECT codigo,preco FROM produtos "; $sql .= "WHERE…
-
1
votes1
answer705
viewsIreport - Sub report with same main datasource
I’m developing a relatório and it has a subrelatorio that must have the same DATA SOURCE of relatório main, for this the dataSourceExpression of subreport was as follows:…
-
2
votes0
answers216
viewsHow to create a Windows service on installation
I will distribute my Delphi application through a standard installer created with Install Shield, but it needs to create a Windows service to work. I know how to create this service manually, but…
-
1
votes1
answer437
viewsScoring, Hessian and Newton Raphson function of the exponential distribution in R
How to find the score vector and the Hessian matrix in R to apply the Newton Raphson in the code below: rm(list=ls()) cat("\014") #Função para simular variáveis aleatórias de uma modelo de regressão…
-
4
votes3
answers210
viewstimestamp does not indicate the correct date
I’m working on a CMS for display of the articles, my problem is with the function strtotime() does not indicate the correct date, always indicates 1 March 1970. The Row (phpMyAdmin) of one of…
-
-2
votes1
answer61
viewsproblem when renaming a project in eclipse
before formatting my computer, I renamed a project in eclipse and the folder in Workspace changed its name at the time it renamed next to the project, now I rename the project name only the project…
eclipseasked 5 years ago Mayrinck Bernardo 3