Dim row As DataRow = tbl.Rows.Find("newsID") 明显错了啊! newsID是你的column吧。 column不能付给row啊!
Dim topic As TextBox = CType(E.Item.Cells(1).Controls(0), TextBox) 呵呵,就在这里。 Dim topic As TextBox TextBox错 dim summarytext As TextBox=CType(E.Item.Cells(1).Controls(0),TextBox) 自己看看,是否有这种值类型!
明显错了啊!
newsID是你的column吧。
column不能付给row啊!
呵呵,就在这里。
Dim topic As TextBox
TextBox错
dim summarytext As TextBox=CType(E.Item.Cells(1).Controls(0),TextBox)
自己看看,是否有这种值类型!