tags:

views:

30

answers:

1

I have a asp.net VB code to insert draft/saved messages into a a new table created 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."

A: 

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.

Meta-Knight