ERROR:Object must implement IConvertible.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Leon Shaw

    #1

    ERROR:Object must implement IConvertible.

    I'm trying to insert a record into a sql server 2000 database using a store
    procedure (vs.net is my develop tool) on the button click event but I keep
    getting the following error after clicking the button:
    Object must implement IConvertible.
    What Can I do to fix this problem. It seems like it want to explicit convert
    a value to a specific datatype, but I set my command through vs.net which
    took care of that for me. what would you suggest?


  • Natty Gur

    #2
    Re: ERROR:Object must implement IConvertible.

    Any code ?

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!

    Comment

    • Leon Shaw

      #3
      Re: ERROR:Object must implement IConvertible.

      Thanks for your response to help, but I solve my problem. Remember sharing
      knowledge is very powerful.
      "Natty Gur" <natty@dao2com. com> wrote in message
      news:urCk3eZVDH A.532@TK2MSFTNG P09.phx.gbl...[color=blue]
      > Any code ?
      >
      > Natty Gur, CTO
      > Dao2Com Ltd.
      > 28th Baruch Hirsch st. Bnei-Brak
      > Israel , 51114
      >
      > Phone Numbers:
      > Office: +972-(0)3-5786668
      > Fax: +972-(0)3-5703475
      > Mobile: +972-(0)58-888377
      >
      > Know the overall picture
      >
      >
      > *** Sent via Developersdex http://www.developersdex.com ***
      > Don't just participate in USENET...get rewarded for it![/color]


      Comment

      • Natty Gur

        #4
        Re: ERROR:Object must implement IConvertible.

        Can you share the solution with us ?

        Natty Gur, CTO
        Dao2Com Ltd.
        28th Baruch Hirsch st. Bnei-Brak
        Israel , 51114

        Phone Numbers:
        Office: +972-(0)3-5786668
        Fax: +972-(0)3-5703475
        Mobile: +972-(0)58-888377

        Know the overall picture


        *** Sent via Developersdex http://www.developersdex.com ***
        Don't just participate in USENET...get rewarded for it!

        Comment

        • Bob Frasca

          #5
          Re: ERROR:Object must implement IConvertible.

          How did you resolve this as I am having the same problem?


          "Leon Shaw" <vnality@msn.co m> wrote in message
          news:%23t6aWKXV DHA.1316@TK2MSF TNGP12.phx.gbl. ..[color=blue]
          > I'm trying to insert a record into a sql server 2000 database using a[/color]
          store[color=blue]
          > procedure (vs.net is my develop tool) on the button click event but I keep
          > getting the following error after clicking the button:
          > Object must implement IConvertible.
          > What Can I do to fix this problem. It seems like it want to explicit[/color]
          convert[color=blue]
          > a value to a specific datatype, but I set my command through vs.net which
          > took care of that for me. what would you suggest?
          >
          >[/color]


          Comment

          • Leon Shaw

            #6
            Re: ERROR:Object must implement IConvertible.

            Send me the code and I will send you the answer (the answer all depends on
            the coding logic).
            "Bob Frasca" <bfrasca@netspo ke.com> wrote in message
            news:%23J%23DBI dVDHA.2052@TK2M SFTNGP10.phx.gb l...[color=blue]
            > How did you resolve this as I am having the same problem?
            >
            >
            > "Leon Shaw" <vnality@msn.co m> wrote in message
            > news:%23t6aWKXV DHA.1316@TK2MSF TNGP12.phx.gbl. ..[color=green]
            > > I'm trying to insert a record into a sql server 2000 database using a[/color]
            > store[color=green]
            > > procedure (vs.net is my develop tool) on the button click event but I[/color][/color]
            keep[color=blue][color=green]
            > > getting the following error after clicking the button:
            > > Object must implement IConvertible.
            > > What Can I do to fix this problem. It seems like it want to explicit[/color]
            > convert[color=green]
            > > a value to a specific datatype, but I set my command through vs.net[/color][/color]
            which[color=blue][color=green]
            > > took care of that for me. what would you suggest?
            > >
            > >[/color]
            >
            >[/color]


            Comment

            Working...