user
user

Reputation: 77

inserting data from a asp.net page to sqlserver database

there are two tables in database.

one is 'books' with 4 columns

pkid,title,price,writer(int)

and other is 'persons' with columns

pkid, name,value(int).

one asp.net page is there with text boxes named

title,price,writer and a submit button. 

i want that on filling that writer txtbox with some name which is available in 'persons' table and clicking that submit button it will store integer 'value' in 'books' writer column.

Upvotes: 1

Views: 769

Answers (1)

Kamran Khan
Kamran Khan

Reputation: 9986

Its simple.

But before all of this, I would suggest you go through basic crud operations using asp.net and how they are achieved. Here are some asp.net quick start tutorials.

Upvotes: 1

Related Questions