Most voted "create" questions
11 questions
Sort by count of
-
3
votes1
answer1159
viewsThere is no Viewdata item of type 'Ienumerable' that has the key
I’m having trouble with the Employee Position that is on a separate Table, when I try to create an employee selecting the position, he error... but if I assign the position in Controller (Ex:…
-
1
votes1
answer392
viewsAdd Input with Jquery and how to get the data from this input
I have 1 JS button that creates input. I just can’t get this input data. I can create every input with a different name, but I have no idea how can I get these values from php. I tried to send the…
-
1
votes1
answer95
viewsRails rspec, post error :create, params require
I’m starting rspec tests on Rubyonrails and I’m having a problem testing my controller’s create: it "creates lançamento" do post :create, params: attributes_for(:lancamento), format: :js, xhr: true…
-
0
votes0
answers55
viewsCreate function for formatting from (X-1, X-2, X-3) to ('X-1', 'X-2', 'X-3')
I have a query that returns some char type keys like this X-1, X-2, X-3. The problem is that now I need to use with where chaves in( ... ) and would have to format the values to 'X-1', 'X-2', 'X-3'.…
-
0
votes1
answer72
viewsConcatenation Create Table
I’m trying to create a table from the user’s email, and I’m using the code below: $email = $_SESSION["email"]; echo $email; $create=mysql_query("CREATE TABLE userpics_'$email' (id_user VARCHAR(60),…
-
0
votes1
answer234
viewsError running SQL "Create Trigger..." inside a C#application
Goal: Run a create Trigger script using a string within C#. Problem1: Table not found (because the script does not indicate in which Table to create Trigger). Tentative2: Start string with "Create…
-
0
votes2
answers426
views -
0
votes1
answer3215
viewsError creating an application with create-React-app
I installed the create-React-app all right, but when tried to create a project using the command create-React-app hello-world of the following error:…
-
0
votes1
answer41
views"Actioncontroller::Parametermissing" error, even with form sending parameters
I’m probably letting something really stupid go through, but I’ve been trying to find the solution for hours and nothing. I am creating a CRUD of games. My problem is happening in the action…
-
0
votes1
answer75
viewsWhy doesn’t my Div, raised in JS, show up?
My goal is to create a different red square every time one clicks the button. only that when one clicks on the button nothing expected happens. but one can know that the addeventlistener is working…
javascript function javascript-events create elementsasked 4 years, 8 months ago Henrique Sathler 21 -
0
votes0
answers37
viewsCreate temporary table with another table structure while maintaining the primary key constraints
I am layman still in postgresql and would like someone’s help. I created a temporary table (as mentioned in the postgresql manual): CREATE TEMP TABLE IF NOT EXISTS s_agendatemp (like s_agendamento…