Object Must Implement IConvertible

Discussion in 'ASP .Net' started by Kat, Feb 14, 2007.

  1. Kat

    Kat Guest

    I have a gridview that queries a stored procedure to select id, firstname,
    lastname from clients. Then I have a detailsview that queries the client
    details linked to the id from the client gridview. If I put the select
    statement for the client details directly into the datasource, it works
    fine, but as soon as I put the select statement -- the exact same
    statement -- into a stored proceudre, I get the above error. What does that
    mean and how can I fix this? Thank you very much for your help.
    Kat, Feb 14, 2007
    #1
    1. Advertising

  2. Kat

    Teemu Keiski Guest

    What's the object you are passing as data source or to the query? Usually
    this occurs when object cannot be converted to a specific type.


    --
    Teemu Keiski
    AspInsider, ASP.NET MVP
    http://blogs.aspadvice.com/joteke
    http://teemukeiski.net


    "Kat" <> wrote in message
    news:...
    >I have a gridview that queries a stored procedure to select id, firstname,
    >lastname from clients. Then I have a detailsview that queries the client
    >details linked to the id from the client gridview. If I put the select
    >statement for the client details directly into the datasource, it works
    >fine, but as soon as I put the select statement -- the exact same
    >statement -- into a stored proceudre, I get the above error. What does
    >that mean and how can I fix this? Thank you very much for your help.
    >
    Teemu Keiski, Feb 14, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Leon Shaw
    Replies:
    5
    Views:
    877
    Leon Shaw
    Jul 29, 2003
  2. Bob Frasca

    Error:Object must implement IConvertible

    Bob Frasca, Jul 29, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    481
    Bob Frasca
    Jul 29, 2003
  3. =?Utf-8?B?VGltOjouLg==?=

    Error: Object must implement IConvertible

    =?Utf-8?B?VGltOjouLg==?=, Dec 14, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,132
    Guest
    Dec 14, 2004
  4. =?Utf-8?B?VGltOjouLg==?=

    Object must implement IConvertible.

    =?Utf-8?B?VGltOjouLg==?=, Dec 15, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,923
    Kevin Spencer
    Dec 15, 2004
  5. Replies:
    4
    Views:
    3,303
Loading...

Share This Page