Error "insert into" - sql

i'm building a small project with c#. And i getting a problem with the insert into database. I tried to understand what is the problem with this command and i can't figure it out.
There is a link to the project:
https://drive.google.com/file/d/0B2QZzcPyN4G0VTRRNWowLVg5V1U/view?usp=docslist_api
I know it's in hebrew.. but what is matter is the code line.
I hope you will give me a solution as fast as posible.
Thank you very much

Related

MySql.Data.MySqlClient shows confusing error

I'm using VS2019 and today I opened my project to continue working but a strange error occured that I really don't understand. The MySql.Data.MySqlClient namespace shows this:
and every mysql commands shows this error:
but when I start the debugging it's working fine i don't know whats causing this since I'm not very knowledgeable with programming. How do I get rid of this?
From your scenario it's bit unclear what exactly problem at your end. You could try couple of hacks though
Clean solution and rebuild your project
If that does not resolve your issue, try to remove dll reference "MySql.Data.MySqlClient" from reference and referring to latest documentation from Microsoft, import correct namespace again. Hope this helps you.

Excel VBA Run Time Error

I was handed a project at work, and when I run the macro, it comes up with this run time error:
When I go to debug the tool, it highlights this piece of code:
I looked at this webpage for help and the workaround says to change settings in Enterprise, and I have no clue what that is.
My questions are:
What is Enterprise and is that the simple work around to this?
What is wrong with that portion of code to make it have this runtime error?
Any help would be appreciated!!

Reference not found after switching from Debug to Release mode

I have a problem with several references in my VB.NET project.
For example I have this line of code:
Dim m As New Chilkat.Email
It comes from the library "ChilkatDotNet45.dll".
When I click on "References" and locate this dll, I can see that it has the settings "Use local copy" and "Do not include interop types".
When I switch to Release mode, the compiler tells me that "Chilkat.EMail" is not defined.
I have this problem with several DLLs, so it is not specific to Chilkat.
Can somebody tell me what I did wrong?
Thank you.
One of the standard approaches to solving any programming-related issue is trying to reduce the scope of the investigation. If you have a big project, in which something doesn't work, try to create a smaller project, and try to replicate desired functionality in it. Reduce as much as possible, down to a brand new project with maybe 5-10 lines of code in it.
If you were unable to solve your problem after making a reduced test case, now it's good time to post it on StackOverflow. I am usually reducing problems while writing a question on SO (not before, as one might think), constantly thinking "ok, is it minimized enough"; and this is how 90% of the questions never get posted - I often find a solution along the way of reducing my question to bare bones. :)
In your case, can you build a simplified project which has this problem and post a link here? We could then try switching Debug to Release on our machines and see if the we can reproduce. There are too many options to do the guesswork.

How do I use the batch ultility of Graphics Magick?

I'm sure that my mistake is plain simple. I'm fair new to this application and after seeing the online help for batch I copy and paste the code for jpg conversion (to tiff) and it didn't work. The error it gives is: "gm: unrecognized command 'for'. Use help ... " and I don't get it, isn't batch utily this for (the use of shell script)? If someone can copy a simple script for this porpouse it will help me a lot. Thanks
PD: Sorry for my english
This blog post gives a deeper explanation of how GM batch mode works. Try out the examples there should help you to understand the examples used in the online help.

Bulkloader syntax Error

Having been struggling trying to bulkload data to the datastore, I have reached the point where expert help is needed.
I don't think what is am doing is tricky, I have the following configuration file:
and when I use the appcfg.py command, the error messages end with:
File "config.txt", line 1
python_preamble:
^
Syntax error: invalid syntax.
I have used a .txt file as it is faster to edit in notepad initially - I don't know if that is a problem and the remote_api for the appspot all seems to be okay.
I am thinking it is a fairly fundemental problem as it has stopped working at the top line. I removed the comment lines at the top of the original file - maybe that caused it.
I have tried to find working examples to set me right but they all seem to follow the syntax above, or where they are slightly different, I have tried both variants.
Help on bulkloading for my first cloud app would be much appreciated.
Thanks in advance for anyone taking time to read my post whether they solve it or not.
Be sure the configuration file extension is .yaml