2010-09-29 47 views
1

數據庫中有兩個表格。將數據從一個asp.net頁面插入到sqlserver數據庫中

一個是'books'有4列

pkid,title,price,writer(int) 

等是'persons'與列

pkid, name,value(int). 

一個asp.net頁面有一個名爲

title,price,writer and a submit button. 

我想文本框在填寫該作家txtbox用一些可用的名稱'persons'表並單擊該提交按鈕它將在'books'編寫器列中存儲整數'value'

回答

1

它很簡單。

但在此之前,我建議你使用asp.net通過basic crud operations並且它們是如何實現的。這裏有一些asp.net quick start tutorials

+0

因爲我新我需要一些代碼片段.....謝謝反正 – user 2010-09-29 07:59:27

相關問題