ObjectDataSource and e.values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vertigo262
    New Member
    • Jul 2007
    • 62

    #1

    ObjectDataSource and e.values

    I was wondering if anyone was having any problems retrieving
    the e.values in the itemdeleting event.

    I can't for the life of me figure out why I retrieve a value of nothing.

    Protected Sub FormViewContact s_ItemDeleting( ByVal sender As Object, ByVal e As System.Web.UI.W ebControls.Form ViewDeleteEvent Args) Handles FormViewContact s.ItemDeleting


    Response.Write( "url: " & e.Values("Conta ctPicture"))
    Response.End()
    'delete Contact Picture
    Dim fd1 As New FileInfo(Server .MapPath(GetCon tactPicture))
    If fd1.Exists = True Then
    fd1.Delete()
    End If

    End Sub
Working...