ExecuteStoredProcedure: Cannot work with bigint data type

Certified Senior Developer


We are trying to use executestoredprocedure for a procedure written in SQL server.

The procedure takes 2 parameters of type 'bigint' and executes successfully within the database client but it fails to execute stating 'cannot convert nvarchar to bigint'.

Any idea how to bypass this issue?

  Discussion posts and replies are publicly visible