Interesting questions
-
4
votes2
answers254
viewsCRUD with images , working with Httppostedfilebase and byte[]
We are using Entityframework with Codefirst and Database Postgresql. There are some tables that should save images, and the POCO classes are referenced as byte array. Up to that point all quiet. I…
-
1
votes0
answers224
viewsReact: Uncaught (in Promise) Typeerror: Dispatch is not a Function
Hello, For some reason I make a call and I get the desired return, but it gives an error of Dispatch, I’ve tried several things and nothing works. My action: export const formulariosExternos =…
-
0
votes3
answers94
viewsHTML validating with javascript
Hello I have a college job in which I have to validate some fields in javascript, but I am not able to do, the validation has to say how many of the total questions when you press the button, follow…
-
-1
votes0
answers9
viewsFatal error : Undetected error: Call to a member function run() on bool in C:
The following error in my code is occurring: Warning : PDO :: query(): SQLSTATE [HY000]: General error: the mode must be an integer in C: xampp htdocs joel_php curso_hcode DAO sql.php on line 34…
-
0
votes0
answers64
viewsLaravel Horizon | Call to Undefined method Laravel Horizon Redisqueue::enqueueUsing()
All steps in the Laravel documentation have been followed and reviewed. After all configured, when trying to create a job the following error is logged: local.ERROR: Call to undefined method…
-
1
votes1
answer158
viewsHow to perform file configuration for many Targets?
How can I configure Xcode to perform the following task: Use 1 Target as a template for other targets, and that some file/class when included or changed in this template can be referenced in other…
-
1
votes2
answers266
viewsInsertion in Mysql with PHP works for nothing
I am trying to create a registration page and save user data in Mysql, but it is impossible to do this. I’ve searched the Internet, but apparently my code is correct. SQL code: CREATE SCHEMA IF NOT…
-
-1
votes2
answers1000
viewsChange Input color when typing x characters
I wish that when a person typed more than 10 characters in my input, he changed the color to green, otherwise it turns red. That without the refresh. The person would not need to click the button in…
-
3
votes1
answer314
viewsAuthentication - Current.User.Identity returning null
My login Dim senha = "null" If Not (senhaLogin.Text = "") Then senha = senhaLogin.Text End If Dim Usuario = GetUsuario.Where(Function(a) a.Email = emailLogin.Text And a.Senha = senha) If…
-
-2
votes2
answers65
viewsOn the Javascript part, how do I convert a number? Nan’s It
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport"…
-
0
votes1
answer203
viewsHow to use "shouldComponentUpdate" with Hooks?
I have a component <Filho> who does not receive props, but is rendered again whenever the <Pai> has some status update (useState). To solve this I figured I could do, in the component…
-
1
votes2
answers79
viewsError using CSS Nth-Child()
.citacao-bio { background-color: #D9E5E3; border: 10px solid #C2CCCA; width: 250px; box-sizing: border-box; margin: 20px 40px; float: left; position: relative; } .citacao-bio:nth-child(2){ float:…
-
1
votes2
answers76
viewsSave data to a text file to read later
I wonder how I saved some data as example, in case numbers, in a text file so that when I close the application the data will still be saved and when I open them I can resume them.
-
1
votes2
answers486
viewsProblems with css, menu does not work
It just doesn’t work, "li". <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style> /* reset do html */ html, body,…
-
1
votes0
answers201
viewsWhat is the difference between SELECT * AND SELECT field1,...?
If I need all fields in the table, there is a difference in performance between using the joker "*" (SELECT * FROM ...) and specify all fields in the table (SELECT campo1, campo2... FROM ...)?…
-
1
votes0
answers233
viewsLogged-in User appears in Main Form C#
Good afternoon!!! I have a problem that I don’t know why... I have a program in a Windows Forms C#. It has a Login window that goes into a Main window. I use the same principle of storing the…
c#asked 7 years, 5 months ago Rodrigo Garcelan 11 -
1
votes2
answers234
viewsWhy is the recursive function return not being used?
What happens when I call a function, recursively, without assigning its return to a variable? Why there is no need, in this case, to assign the function mergeSort explicitly the variable array?…
-
3
votes3
answers79
viewsTotalcross - Whiteboard starts stroke with point difference initially pressed
I’m using the component Whiteboard, for signatures, however when making a dash, it draws with a difference from the starting point where I pressed the screen, making a vertical risk of approximately…
totalcrossasked 9 years, 3 months ago Nodji Junior 91 -
2
votes1
answer658
viewsSelector or Script to assign different content to elements with the same class
We can assign a title (attribute title), to an element marked in HTML, which has this class, thus: $(".title-texto").attr("title", $(".title-texto").text()); Example of HTML markup with only one…
-
1
votes1
answer2887
viewsInclude file in Wordpress
I have a site created in wordpress and need to include the command include 'config.php'; with some specific functions I need to use (including access to an external database). however, on all pages…