Posts by gmbc • 87 points
6 posts
-
1
votes1
answer1728
viewsA: image does not appear in html 5
Do it like this <img src="imagens/foto.png" alt="Imagem de página não encontrada" width="330" height="202" /> The above example loads the image called "photo.png" that is inside the folder…
-
1
votes0
answers438
viewsQ: Error Inserting: Incorrect integer value 'EXAMPLE' for column 'id_example' at Row 1
I am trying to insert into my mysql database through Visual Studio 2017 - C# (localhost-wamppserver) but it is giving error. The first column of the table records is the id_record which is the…
-
0
votes3
answers203
viewsA: How to show a column, but if null show another sql
I’m not sure I understand, but. Need to use ISNULL/Function Operator. Select ISNULL(a, b) b is selected if a for Null. You can even use WHEN/THEN a Select option, search "BOL better". Essentially:…
-
0
votes1
answer51
viewsA: How to have the option to connect to more than one database in my C# Visual Studio app via the.config app
Instead of adding variables, I seriously advise you to create a class! More convenient and takes up less space. thus: public class MyDatabaseConnection { public MyDatabaseConnection(string…
-
-1
votes2
answers305
viewsQ: How to merge 4 tables into one and show text instead of INT - INNER JOIN
Hi, I know it’s kind of like this in the second print and with Inner Jay but I’m not getting it. I’m using Mysql Workbench and more when I finish this I want to go to C#. I have this doubt, I have…
-
0
votes1
answer413
viewsQ: C# CRUD - Insert Error (Cannot add or update a Child Row: a Foreign key Constraint fails...)
Good morning, I had managed to do everything right up to this error by inserting something into the database. localhost/phpmyadmin - xampp. It’s something with the id_user but I don’t know what it…