"Additional information: Object must implement IConvertible."

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI

I am using Microsft Data Access building block

And i am getting following error

An unhandled exception of type 'System.InvalidCastException' occurred in eval.ex

"Additional information: Object must implement IConvertible.

my code look like thi

SqlParameter paramFName = new SqlParameter("@FNAME",SqlDbType.Char,25)
paramFName.Value = "A"

SqlParameter []parm = new SqlParameter[1] {paramFName };
SqlHelper.ExecuteNonQuery(this.connectionstring1, "AddPatient", parm)


thanks in advanc
-p
 
Back
Top