Questions tagged as 'crud'

1
answer

Insert data into the bank with codeigniter

I need to display and save data in my database but as I'll show below I'm using Joins to display, for example the name of an author using their primary key. For display is working, but when I use my method to insert data into the table it r...
asked by 23.01.2017 / 19:52
1
answer

Error in doing search by name Access ASP.NET C #

I have a search error by name (value entered by the user) in the access database it says that the values inside the parameters are null. Follow the code.       Person.cs responsible for the bank's logic. public Contato obterCadastroPorNome(str...
asked by 11.11.2016 / 13:35
1
answer

How to use Select

I was able to save information to my SQLite database, but I can not call them. I'm trying using the following method: private void verPessoas() { ArrayList<RespostasAguaCasa> pessoas = new Read().getLista(); for (int i = 0; i...
asked by 10.06.2018 / 22:25
1
answer

Handling Data Array PDO CRUD

Lista-prato.php: <?php //inclui as bibliotecas require_once('conexao.class.php'); //faz a canexão $pdo = new Conexao(); // determina o numero de registros que serão visualisados $maximo = 20; // armazenamo...
asked by 18.05.2015 / 05:16
1
answer

How to make a control class for JDBC crud

How do I make a control class for a list method of my crud? The method of my dao class will return all the data set that have the same city. But this error occurs in my main class: DaoclassmethodpublicList<ViagemBean>getListaDestin...
asked by 03.07.2015 / 21:04
2
answers

How is crud to update records in SQL Server by Visual Studio C #?

I'm using this code, it does not error, but does not update the data public static int attLoja(LojaVirtual loja) { int resposta = 0; using (OdbcConnection conexao = ConexaoPadrao.CreateConnection()) {...
asked by 25.05.2015 / 19:17
1
answer

How to send html form to route node? Crud!

Hello, I have to send the information of an html form via POST to a crud on node and mongodb! I can not do it! follows the code below: pastebin code: link     
asked by 16.10.2018 / 14:29
1
answer

How to delete a table row in sqlite3?

I am trying to make a crud in sqlite3 with a GUI through tkinter my table was created in DB Browser for sqlite. I have developed a little but it is not working: from tkinter import * from tkinter import ttk import sqlite3 #db_name = 'bancoda...
asked by 31.08.2018 / 01:58
1
answer

I can not correctly pass the arguments to the function that updates data in the database (Laravel)

I'm using Laravel 5.6 and I ran into a problem when I try to edit database records:   Too few arguments to function   App \ Http \ Controllers \ PagesController :: update (), 0 passed and   exactly 2 expected Function public fu...
asked by 02.08.2018 / 15:10
1
answer

Django + Postgresql object has no attribute

I'm trying to do a validation before sending my form, however it returns me the following error: 'StudentForm' object has no termAccepted attribute app models.py: from django.db import models from django import forms from django.forms...
asked by 28.08.2018 / 21:07