The same for the Warranty Date You could try to change these lines Problem is solved! Is Post Back) in my main method meaning that when i made the call to update the database it was still updating, yet the values were being updated with the current values in the database i.e.
This tutorial shows you how to update (change) an existing database entry when you use ASP. It assumes you have completed the series through Entering Data by Using Forms Using ASP. What you'll learn: helper so that it displays an Edit link next to each movie: When you click the Edit link, it takes you to a different page, where the movie information is already in a form: You can change any of the values.
When you submit the changes, the code in the page updates the database and takes you back to the movie listing.
Here is what i have tried so far Using Add With Value could lead to some subtle bugs.
For example if your column Last Modified Date is of datetime type you should pass a Date Time value as the second parameter in Add With Value, not a string.
(In Web Matrix, Intelli Sense can help you learn figure out the name, type, and order of the parameters.) As an alternative to passing values in order, you can use Named parameters are handy for a couple of situations, especially when a method takes many parameters.
One is when you want to pass only one or two parameters, but the values you want to pass are not among the first positions in the parameter list.
Then you should post the code where you assign the values to the parameters.
im having issues updating my database from a webform.
The subit Form() sub is the same one that I use to create a new row and it takes those values fine.
And have a look at the part where you got the values from. NET [email protected] Schmelter I understand that but I don't know why my other values aren't going in.
For , if you mixed up the order of the values you pass, you'd get an error message when the page runs, or at least some strange results.