Updating code

GeekO

New member
Joined
May 25, 2008
Messages
1
Programming Experience
3-5
I have been assigned the task of updating some code which was written in an older version of vb. I am unfamiliar with the code and havent programmed in vb in quite a while.

This function is giving me a syntax error. How would you suggest to fix this function?

VB.NET:
 Public Function bindthissql_ODBC(ByVal fds As Object, ByVal fsql As Object) As Object
            New OdbcDataAdapter(StringType.FromObject(fsql), Me.dbconn).Fill(DirectCast(fds, DataSet), "Thedata")
            Return New DataView(DirectCast(LateBinding.LateGet(fds, Nothing, "Tables", New Object() { "Thedata" }, Nothing, Nothing), DataTable))
        End Function
 
Back
Top