Most voted "crud" questions
CRUD stands for Create, Read, Update and Delete in the English language, which are the four basic operations used in relational databases (RDBMS) or in user interface for data creation, query, update and destruction.
Learn more…176 questions
Sort by count of
-
0
votes1
answer612
viewsEdit Codeigniter
In the Codeigniter and I’m having a hard time loading into the customer’s form the data for him to change. The customer has to log in to the registration part and update their data. When it logs…
-
0
votes0
answers134
viewsUpdate with generic CRUD
I’m using a generic CRUD developed by William F. Milk and suits me very well, but I’m having a hard time making a change, I’ve tried some possibilities but without success, what I have is this: //…
-
0
votes1
answer103
viewsError searching by name Access ASP.NET C#
I have an error searching by name(value entered by user) in the access database he says that the values in the inside of the parameters are null. Follow the code. Person.Cs responsible for the logic…
-
0
votes1
answer1201
viewsInsert data into codeigniter database
Say guys all right, I’m having the following doubt: I need to view and save data in my database but as I will show below I am using Joins to display, for example the name of an author using his…
-
0
votes2
answers261
viewsI connect to the database but the values do not change when I give UPDATE MYSQL Qt C++
The data is loaded in the table, then I change the data in the table, when I click on the update button, I can take the data (even the changes) and save it in the variable, but it seems that when I…
-
0
votes1
answer151
viewsHow to enter data from a form in the database [Pdostatment - CRUD]
I’m making a CRUD simple to insert data obtained from a form. I did the function but it does not work and does not present any error. I believe it’s because of the information coming from form are…
-
0
votes2
answers985
viewsInsert a data from a Combobox (PHP) into the Database
Hello, I’m putting together a system for the college project. I have a relationship between City-State. Well, the state CRUD is already working and storing in the Database, when I will register a…
-
0
votes1
answer346
viewsError while trying to Insert into database with Laravel
I’m using the Laravel and I’ve been racking my brain trying to figure out the cause of the following mistake while trying to make a insert: (1/1) Errorexception Illegal offset type in…
-
0
votes1
answer1744
viewsButton to delete record
I have a page that shows the records made in a form. When a register needs to be deleted, I need to access phpMyAdmin, preventing anyone other than me from deleting the record. What I wanted: I…
-
0
votes0
answers41
viewsReturn data from a function?
How can I return data from a function, in case I want to do a foreach of an sql query that is in a function: index php. <?php require_once "funcs/functions.php"; $userdata = get_user_data();…
-
0
votes0
answers285
viewsList data in an Activity
This is my first forum post, I hope I’m not inflicting any rules -. I’m starting in programming Android, so I’m trying to develop a CRUD. So far I made the registration and listing, but the latter…
-
0
votes1
answer320
viewsError while executing POST method
I am facing a problem regarding the POST method, when triggering this method it normally inserts in the database, but the application (Node index.js) is finished, at the command prompt I get this…
-
0
votes1
answer286
viewsProblem doing CRUD with HTML and JS
I’m not getting the edit button: var count = 1; function Insert(nome,idade){ var tr = '<tr>'+ '<td style="font-size:20px;text-align: center" class="tdnome">'+nome+'</td>'+ '<td…
-
0
votes1
answer966
viewsDelete from localStorage
I’m a beginner in the js area and I’m developing a code that stores the data in a table and saves in localStorage, I need that when I click the delete button that appears in this table, the line is…
-
0
votes0
answers28
viewsI am trying to update a database field, by Adapter. How do I do?
... public void concluirAtividade(Atividade atividade){ ContentValues contentValues = new ContentValues(); contentValues.put("SITUACAO", atividade.situacao); String[] parametros = new String[1];…
-
0
votes1
answer895
viewsUpload photo with model name in Django
I would like help for a task to save images with a custom name and a folder also with the current name, suppose the following Model: class ProdutoA(models.Model): nome_produto_a =…
-
0
votes2
answers359
viewsGeneric Method of a Generic Class C# for similar classes
I have some classes that will use a record method. I created a CRUD (Generic) class where would have a method to write, but I need this method to receive as parameter the classes. There is some way…
-
0
votes1
answer413
viewsC# 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…
-
0
votes1
answer58
viewsHow to use Select
I was able to save information in my Sqlite bank, only I can’t call them. I’m trying to use the following method: private void verPessoas() { ArrayList<RespostasAguaCasa> pessoas = new…
-
0
votes1
answer327
viewsUsing Select android studio
I was able to save information in my Sqlite bank, only I can’t call them. I’m trying to use the following method: private void verPessoas() { ArrayList<RespostasAguaCasa> pessoas = new…
-
0
votes1
answer129
views -
0
votes1
answer46
viewsError in select search
I can’t return the value inside my Arry always returns 0 Read public class Read { public ArrayList<RespostasAguaCasa> getLista() { SQLiteDatabase db =…
-
0
votes1
answer132
viewsI cannot correctly pass the arguments to the function that updates data in the database (Laravel)
I am using Laravel 5.6 and came across a problem at the time I try to edit database records: Step from the table that shows the data and options (edit, delete, etc.), to the edit page, and when I…
-
0
votes1
answer70
viewsDjango + Postgresql Object has no attribute
I am trying to do a validation before submitting my form, but returns me the following error: 'Studentform' Object has no attribute 'termAccepted' models.py of the app: from django.db import models…
-
0
votes1
answer901
viewsHow to delete a table row in sqlite3?
I’m trying to crud sqlite3 with a GUI through Tkinter my table was created in DB Browser for sqlite. I’ve developed a little but it’s not working: from tkinter import * from tkinter import ttk…
-
0
votes1
answer789
viewsCRUD in PHP and MYSQL - Delete
I’m having trouble at a crud in php and myqsl. My code doesn’t seem to be getting the id to perform the actions. The site has an administrative part in which I view registered users and can edit,…
-
0
votes1
answer390
viewsHow to send html form to route Node?
I have to send the information from an html form via POST to a CRUD (Create, Read, Update and Delete) acronym in Node and mongodb, but I’m not getting it. Code: // configurando setup e chamando…
-
0
votes1
answer118
viewsAWS - How to make CRUD on S3
I recently started studying AWS, and I’m feeling totally lost in the meaning of some things, how they work and what are their contexts for the application. For example Keys (Keys), buckets (Bucket),…
-
0
votes1
answer61
viewsDoubt with Asp.NET MVC Update
Sorry for the question, I am learning Asp.NET with EF and am having problems performing a specific Update. I want to make a system where there are cash transactions between accounts. The structural…
-
0
votes1
answer59
viewsProblems with requests in Angular
Good afternoon guys, I’m starting a new internship and already a few days I’m stuck on a task that I can not understand the failure, I must make a registration form that communicates with an API…
-
0
votes3
answers50
viewsBring data from Table and returns no results
Guys I’m having a problem searching data in a table, follow code. PHP CODE <?php $servidor = "localhost"; $usuario = "vitor"; $senha = ""; $banco = "funcionarios_db"; $mysqllink =…
-
0
votes0
answers552
viewsHow to test with Junit in a C R U D?
I would like to know the condition to use within the test. Got the class Customer package br.myhome.web.model; import java.sql.Connection; import java.sql.PreparedStatement; import…
-
0
votes2
answers217
views -
0
votes1
answer102
viewsException in thread "main" java.lang.Nullpointerexception - CRUD Java Mysql
I’m trying to make a CRUD, when I come across this mistake and I don’t know how to fix it. Error: Exception in thread "main" java.lang.Nullpointerexception at view.ProdutView.(Productoview.java:29)…
-
0
votes1
answer307
viewsClick on the label text, make it appear in the input and edit this label
I’m new to Javascript and I have a dilemma. I can add the content of an input text to a label, but I need to make the content of the label appear in the input type text mentioned, click the edit…
-
0
votes1
answer155
viewsGrab Mysql database time
-Good night, you guys! I have an application that takes data from the database and displays it on the screen. It’s a television schedule, I mean, it shows what’s going on live and what’s going on…
-
0
votes1
answer73
viewsNotice: Object of class mysqli_result could not be converted to int in database.php
I’m having very specific problems while working on my crud. I created in the database a field called id, type INT and A_I and try to call it through this part of the code, but it keeps giving this…
-
0
votes1
answer87
viewsMethod to insert into the database is not pulling value [JAVA]
Good night! I’m trying to do a college job (JAVA), and I have to insert the client data into the database (Mysql), I have a Client class, a form, and the database class. Form calling method for…
-
0
votes1
answer230
viewsCRUD - code help
a company asked to take a test and ordered a CRUD with Name, Email, Telephone and Address. Following the lessons from CRUD I tried to include two more items but it’s not working. I don’t know what I…
-
0
votes1
answer25
viewshow to register a new user setting SESSION as one of the query values
i want to register a new User by a manager and setting the company id in the bd, the way I did it worked when registering other tables but this is giving problem but I know that the value of Session…
-
0
votes1
answer77
viewsModal with id=Undefined
Guys I’m having trouble with a code. The fragment below calls the modal: <a href="#" class="btn btn-default btn-sm" data-toggle="modal" data-target="#delete-modal" data-client="<?php echo…
-
0
votes1
answer164
viewsUPDATE ON DJANGO
I’m a beginner in Django and I’m trying to crud, create, read and delete are working, but the update is not working. Please help me out. This is the page with the data listing: <table…
-
0
votes2
answers860
viewsNestjs with Typeorm for Mysql - Nodejs
I’m starting in the area so sorry if it’s something silly. I started developing a server using Nestjs with Typeorm to connect to a Mysql database but am picking up the following error: 'No…
-
0
votes1
answer98
viewsHow do I set up a column to be composed in Mysql with Hibernate (Java)?
I’m doing a CRUD and in creating my model I’ve reached a point where I can’t get out. I have a table "Plan" and each plan can have several "Modalities", as well as several "Extras", but I do not…
-
0
votes2
answers631
viewsReact js - Update a Parent component list/array through the Child component state
Good evening, I’m new to React, I come from Java/C# programming and I’m having a hard time understanding things that might be simple in React js. My question is the following, I need to update a…
-
0
votes0
answers20
viewsId value is not changing in ASP.NET MVC 5
I am creating a CRUD in ASP.NET in my project, however, started to give a problem. When I try to delete a Product, it passes the totally different Id to the other View, an Id that does not match the…
-
0
votes1
answer267
viewsI am unable to delete in Firebase database with Flutter
I can’t seem to delete a data in Firebase personal. I created a CRUD I’m already connected with Firebase, the project is configured, and I was able to add some data. But I can’t delete it. It’s not…
-
0
votes1
answer39
viewsERROR: cannot Convert from 'int' to 'CRUD.Models.Times'
hello! I am doing a crud project on Asp net mvc and my code presents the following error: Severity Code Description Project File Line Suppression State Error CS1503 Argument 1: cannot Convert from…
-
0
votes0
answers41
viewsPUT method does not work like the others in ANGULAR
I created a crud application where reading, reading by id, creation and deletion works well. The PUT method does not work, returns CORS error I have done several console.log to see if the object is…
-
0
votes0
answers16
views