Posted on: 12/9/2013 7:12:25 AM | Views : 802

Hi
I am trying to place a file upload and retrieve in repeater.But not working.
File upload function outside the repeater is working fine (Code below ).But when tried this code inside repeater error is showing.
Appreciate your help.Thanks
Code Behind
Public Function InsertUpdateData(ByVal cmd As SqlCommand) As Boolean
         Dim conn As New SqlConnection
        conn = New SqlConnection("Data Source=abc-2345RT13\SQLEXPRESS;Initial Catalog=kris;Integrated Security=True")
         cmd.CommandType = CommandType.Text
         cmd.Connection = conn
         Try
             conn.Open()
...

Go to the complete details ...