Dim strMail As String
strMail = CType(e.Item.Cells(1).Controls(0), TextBox).Text我在updatecommand中寫strMail = CType(e.Item.Cells(1).Controls(0), TextBox).Text為什麼得不到編輯狀態時所輸入的值,請指點
strMail = CType(e.Item.Cells(1).Controls(0), TextBox).Text我在updatecommand中寫strMail = CType(e.Item.Cells(1).Controls(0), TextBox).Text為什麼得不到編輯狀態時所輸入的值,請指點
{
string strMail = (TextBox)(e.Item.Cells[1].Controls[0]).Text
}