Wir hatten das heute zwar schon einmal, aber bei mir klappt das auch nicht.
Was ist denn daran falsch?:
cmd.CommandText = "Update tblTourenbuchbild Set Bild = '" &
CType(e.Item.Cells(0).Controls(0), TextBox).Text & "'"
cmd.CommandText &= ", Bildtitel='" &
CType(e.Item.Cells(1).Controls(0), TextBox).Text & "'"
cmd.CommandText &= " WHERE tblID = " &
CType(e.Item.Cells(2).Controls(0), TextBox).Text
cmd.ExecuteNonQuery()
Der Fehler ist in der dritten Reihe. "cast is not valid."
Liebe Gr��e,
Reinhold
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net