初學資料庫繫結是遇到的問題

2021-04-13 01:09:58 字數 483 閱讀 4741

前台(aspx頁)

使用 string.format("",((system.data.common.dbdatarecord)container.dataitem)["起薪"] 繫結時 .net提示我輸入的字串格式錯誤。 就懷疑是否不是 cs 頁問題 ,將其放到cs頁面來輸出 還是這個錯誤;難道

((system.data.common.dbdatarecord)container.dataitem)["起薪"]  不是字串或數值,不可能阿(後用輸出後為 37163.0000 )  。於是 在cs 書寫 response.write(string.format("",37163.0000 )); 和 response.write(string.format("","37163.0000"));  兩次實驗都是 提示我輸入錯誤。。

鬱悶 想辦法解決中

2007-5-23  據問題 2個小時:發現問題,簡直想抽自己兩巴掌 竟然 把寫成了  

唉 以後一定主要要細心!

資料庫sql 遇到的問題

1.in 關鍵字的使用 2.inner join 和left join 的區別 3.select count from select distinct i.img type from village liaison station img i where i.base id base id a 求主...

mysql資料庫遇到的問題

1.公司新上乙個專案,是仿照別的 改的,資料庫不是自己研發,導致資料庫聯絡不明確,所以在前台頁面往往會出現一些問題,比如上傳附件,在資料庫中已經插入了,但是前台頁面並沒有顯示,是因為有部分表沒有更改造成的,但是按照別人的 進行上傳附件的時候怎麼知道資料庫裡的哪張表進行了插入呢?難道乙個乙個查嗎?當然...

mobile資料庫遇到的問題

今天在加資料庫的相關操作時,遇到了一些問題,提示 error c3861 cemountdbvolex identifier not found error c3861 cemountdbvolex identifier not found error c3861 cecreatedatabasew...