查看完整版本: 從資料庫讀出資料怎麻做比較好
頁: [1]

天兵才子 發表於 2015-3-6 11:54 PM

從資料庫讀出資料怎麻做比較好

從資料庫讀出的資料有N各

要從N各內讓USER去選哪一筆資料要秀在LABEL.TEXT上

那這樣我該怎麻用才能讓資料庫讀出來的資料後暫存在某介面上能讓USER點選資料後

使那一筆資料寫入LABEL.TEXT上<div></div>

Jeepluo 發表於 2015-3-9 11:07 PM

可使用 GridView 配合著使用,把資料先讀到 GridView 中,再點選傳到 指定的 Label or TextBox 或其他元件中。

hatakc56923us 發表於 2015-3-10 01:22 AM

maybe just pull out the metadata of the db, then let the user choose what to display
頁: [1]