看板 Web_Design 關於我們 聯絡資訊
請問我有如下程式碼在 aspx.vb For Each row As DataRow In dt.Rows If row("id") = 1 Then GridView.Rows(1).FindControl("textbox").Visible = False End If Next 現在是在 GridView 中從資料庫取到某行 id = 1 時 , 把第一排的 textbox 隱藏 我想做的是把 id = 1 該行的 textbox 隱藏 id 不等於 1 的 textbox 繼續留著 , 請問該如何修改 thanks -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.114.36.174 ※ 編輯: TKelevens 來自: 123.114.36.174 (03/24 16:58)