Posted on: 12/3/2014 2:47:13 PM | Views : 651

Hi all,
I had this working fine until I had to migrate this to a server with an older .NET Framework (I was using 4.0).
I created my own database operations class for accessing and adding data. I pass an array of SQLDBType's as a parameter into a function.
Dim Val As Object = DBOps.ExecuteNonQuery("AddImage", ParamList, Data, ImageID, {SqlDbType.Int}) However, VB 9 doesn't allow for the brackets like that. I've tried creating an array of SQLDbType's as a variable but with no luck.
I hope that makes sense and someone can help.
Much thanks.

Go to the complete details ...