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'
。
因爲我新我需要一些代碼片段.....謝謝反正 – user 2010-09-29 07:59:27