I have being for a while searching an solution but without success. I am working on a project that did work, but i made a little change in the SQL and visual studio 2012 i dropped 2 columns and added 1 more column (ID, as Primary key). i also changed the c# script. But there is no way to make it work, as i start it and fill the form and try to save it, it tells, "incorrect syntax on IdCliente". I will copy and paste the C# script, i hope someone can help me out.
Thank you for your response, i made some changes as you mentioned in your reply. the syntax error is gone also i correct the bullsh*t. But i need to find out more, because now i have got this error,"must declare the scalable variable @IdCliente". thank you very much for your help, this is how i made it now.
You really need to put spaces in your SQL. Right now your SQL statement looks like this:
Insert INTO PatronImagen(IdCliente,NombreCliente,DireccionEnvio,IDDirecciondelEnvio,Ciudad,CodigoPrenda,TipoPrenda,DescripcionPatron,Patron)VALUES(@IdCliente,@NombreCliente,@DireccionEnvio,@DirecciondelEnvio,@Ciudad,@CodigoPrenda,@TipoPrenda,@DescripcionPatron,@IMG)
No spaces anywhere, even before and after keywords!
Thanks again for your good advise!! i made the changes as you mentioned, also made more changes in the C# script, but still not working, i looked up for information for to "declare the scalar variable "IdCliente" but without results.".here is my last modification. thank again Dave for your help!
71 step solution to create a solution? Not sure what you mean there... but there's always scripts to help out with laying out environments. I used Perl pretty extensively for cross platform scripting, it was always relatively painless and the Windows installer is pretty good.
Seems like an awfully high number of steps, doesn't seem right. I've been working with Studio for a long time and I don't think it's ever taken me 71 steps to do anything, heck, if it takes you that long to achieve something, why would you use an IDE at all? Rhethorial question of course, meaning an IDE should make your life easier, not harder.
I don't know quite why you need so many steps, but you can make your own templates in Visual Studio from which to create future projects. My article Visual C++ Express, Custom Wizard[^] shows how to do it in the Visual Studio Express version. For the Professional versions I think you can create a template from any existing project.
That's not the way things work here. If you want code samples then you are expected to go and search for them. You can use Google, Bing, the CodeProject Articles section[^] to get started. Also please select the appropriate language forum for your problem; Visual Studio is an IDE and supports multiple languages.
Error while trying to run project: Could not load file or assembly 'inventory' or one of its dependencies. The module was expected to contain an assembly manifest. Please, I have tried the following 1. google alot and couldn't found the solution to this. 2. I uninstalled visual studio and reinstalled but couldn't work. 3. I was guessing that it may be incompatible with one of the software in my system, then i had to format my system, after which it worked once and reloading visual studio, the message occurred again. 4. I cleaned and rebuilt the solution but didn't work. But, when i changed my operating system to 64x bits it works fine but other applications didn't worked. So, i would like to format my system with 86x bits and in 86x bits, visual studio gave me the headache. Am using windows 7 ultimate and i have tried proffessional the error still occurred. Please help, my school project is about to crash.
That is like trying to mend a car engine with a sledgehammer.
Look at the message, it is telling you that it cannot find a file or assembly. Or, it cannot find some other file or assembly that "inventory" depends on. Look at your project and its settings and make sure that you have included all libraries, everything is using the same version of the .NET framework, and that the same version is installed on the target system.