我在我的表位字段,可以存儲0或1如何將位值從前端存儲到sql server數據庫?
在我的網頁上,我宣佈類似
<label>Do we have your permission to send your cell a text</label>
<div>
<label>
<input type="radio" name="ctrluuSendSMS" id="ctrluuSendSMS" value="1">Yes</label>
</div>
<div>
<label>
<input type="radio" name="ctrluuSendSMS" id="ctrluuSendSMS" value="0">No</label>
</div>
而我提出我得到了以下錯誤的形式:
String was not recognized as a valid Boolean
請幫我如何聲明和如何存儲到數據庫
顯示的HTML並不能幫助我們瞭解正在執行插入。顯示該代碼。 – alroc 2014-09-02 18:37:47