[問題]關於response.write的用法

作者: fashilu (彼方)   2016-12-04 17:37:14
新手發問請多多包涵
工具是VS
在前端用了sqldatasourse連結到資料庫後
拉了個Listview
然後裡面再拉了一個label id是SMeNo
可是在後端中的ListView1_ItemDataBound中
{
Label MeNo = (Label)e.Item.FindControl("SMeNo");
Response.Write(MeNo.Text);
}
出來會是空的。
請問在下哪裡搞錯了呢?
謝謝

Links booklink

Contact Us: admin [ a t ] ucptt.com