开发者

How to call or update from a function?

I have a asp.net VB code to insert draft/saved messages into a a new table cre开发者_如何学Pythonated for draft messages database. I want to check if the the record exists before it is saved. So I have made a function (selecting the unique record ). Now how do I call this function and update the values, it is showing me the error 'Conversion from string "srno" to type 'Integer' is not valid."


The error

Conversion from string "srno" to type 'Integer' is not valid.

probably means that a function expects an Integer as a parameter but you send it a string (srno). Either refactor your method to accept a string instead, or send it an Integer instead of a string.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜