Excellent tutorial! Many of us who followed these steps, and then ran the form, could not save the data inspite of clicking on the Save icon. Thoughts? I do have one other question...I have included a line in the table with 'image' selected as type of input. I'd like to upload an image on that line and into the form/app. Can you point me in the right direction? Thank you! (Bonus question: during the video, just after dragging the dataset to the form, it shows a quick move (step) in making the ID field disappear. It was so quick that even after rewinding several times, I couldn't catch the step. Can anyone shed some light on that?) Thanks.
Thanks but this actually doesn't store the data in the actual database. It only saves the data in the dataset temporarily. So, after closing the application, the data will be deleted and cannot be found in the database. A piece of code is missing in order to physically store the data into the database.
There's no code missing. Because you are running the program on the original folder, the data in the debug folder is deleted when u run (compile) the app again. Just copy the contents of the debug folder to another folder, e.g. "c:\myapps" and the table data will not be lost after you click on save button. When u run the program again, they'll be there.
Excellent tutorial! Many of us who followed these steps, and then ran the form, could not save the data inspite of clicking on the Save icon. Thoughts? I do have one other question...I have included a line in the table with 'image' selected as type of input. I'd like to upload an image on that line and into the form/app. Can you point me in the right direction? Thank you! (Bonus
Great video, thank you. I do have a problem though and would be very grateful for any help. When I run the data configuration wizard, after I have selected the table and click finish I keep getting an error. Could not find file dbo.Purchase, Purchase being the table name.
hello ! I've created a database project like this. It works well on my computer but when I move debuged folder on another computer it doesn't work well. What Prerequisites needed to be install on that computer to run sql base projects. Thank you
I don't know if you got an answer for this already, but I think you might need to make an installer, and then install that on the other machine to work. I just happen to see that on another video right before this one called "Build & Deploy C# Application And run it on any machine"
Hello. First, thanks for the video it saved me a lot of work/research. I'm having a separate issue that I think you might be able to help me with. I have two solutions, one similar to this that edits a database (for testing purposes), and another which is reading the database and doing stuff with the data. What I want to do is deploy these two projects together, so if anyone clones the repo they have full functionality. For my other project, I have manually configured the connection string to read the database from the executing folder and that solution copies the database to the executing folder. So I maintain a "virgin" copy of the db in the original location, and then edit the one in the runtime folder. I've included the same db in the db editing program. However, when I compile it, it connects to the "virgin" db as I can see that is where the connection string is pointing. I've played around with the connection string and keep getting an error "An attempt to attach an auto-named database for file ... failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share." I'm hoping you can tell me how to get it to point to the db in the runtime directory, rather than the original one. Thanks!
i have an issue: i created a setup project to "install"the program (changed to release mdoe), and when i launch the installed program it says it either cannot connect to the db or a db with the same name already exists, whats going on?
Hi! Great video. However I have one question: I followed your steps but my first input is not shown. Second row is fine and so on (so ID 2 is in row2/first row beneath header row). Any idea why? And how can I save the data to the table after closing the (compiled) program and also load data when opening it?
Because you are running the program on the original folder, the data in the debug folder is deleted when u run (compile) the app again. Just copy the contents of the debug folder to another folder, e.g. "c:\myapps" and the table data will not be lost after you click on save button. When u run the program again, they'll be there.
@@osanbrazil999 Thanks. Many of us who followed these steps, and then ran the form, could not save the data inspite of clicking on the Save icon. I'll give your suggestion a try. I do have one other question...I have included line in the table with 'image' selected as type of input. I'd like to upload an image on that line and into the form/app. Can you point me in the right direction? Thank you!
Great video 😁 I have a little question. Years ago you made a video to send whatsapp messages from c#, could you update it? Or there is not posible to send messages like that anymore
Hi fox learn in fact I need a tutorial on how to create a login and authorization system with different selectable roles via Treelist based on my Devexpress ribbon menu. Thank you.
hello thanks for the video. in some vdeos there are both (local database option and service based option) in their visual studio ...but in my visual studio 2013 there is only service based database just like in this video..is there any difference and why i cant see localdb option ?
I have one question I have to create an database application for offline data entry for my client, So can I use this method? So do I need to install sql in my cluent pc or just provide him project setup?
When I put FullName, Email, Phone, Gender, Adress for first user it doesn't appear, it starts appearing only from second user, someone know solution? Also Gender in Gridview is just showing check ON/ OFF its not right solution, as you can see in 9:07minutes.
Hai please update a video to select multiple database by using combobox method in C# along with with external data base exe setup. I will be very help full for beginners.
Nice video thank you!!! Can I ask if someone of you know how to solve this problem I am using ssms 2017 express server on my application it is working properly on my pc but when I am using another pc (aka client machine) it doesn't working - error 26. It is not important I am student who is creating something like school project. I researched in stack or github but no result. Thank you again for this video!
Hi there, when i run my project, the local database loses connection which makes impossible to save data from the form to the DB. Do you guys have an idea on how to solve that issue?
you mean the icon gets a little red cross in its corner? If that it does not mean that the database loses connection. If you look in your project folder there are several databases. The one in the root gets copied to the bin/debug folder everytime you run the project in Visual studio. When you stop running the project that database gets to the state it was before runnig. Try running the exe file in bin/debug filder. It will affect the database in that folder and all the changes must get applied