I am working on a data population within a table in ASP.Net Visual Studio 2012. I was able to write the code C #) So when someone goes to my website and registers, their data is created directly in my database table that I have created (found in server explorer).
Now this table is called "members", which are now part of my database.
However the data entered in the "Members" table does not fill the entire data on the line.
I have user details, but not the last two data for which other details such as 'Recent books have been read by the user' and 'their favorite novel style' is required both of them are inefficient.
I want to know, How can I possibly populate the remaining line in the database table (on a different web page)?
I wanted to make it into another web form (not on the registration page) to fill the member, and there (once deposited) I would like to fill the previous two data (within the same row) ).
Please tell me that it is easy to help see my code.
Thank you.
To answer your question directly, you need to use UPDATE
< P> For example: UPDATE tablename SET Recent manual = @recentbook, favgenre = @favgenre WHERE user name = @username
this The question is a simple database concept, commonly known as CRUD
(create, read, update, delete)
- Create =
- Read =
- Update =
- Delete
Please Go for the manual link above to get fie information and continue your learning.
Comments
Post a Comment