Cannot convert from 'string[]' to 'string'

Discussion in 'Software' started by newasp.net, Aug 20, 2008.

  1. newasp.net

    newasp.net

    Joined:
    Aug 20, 2008
    Messages:
    1
    string[] nId = Request[PageConstants.QueryStringNotificationInstanceId].Split('/');

    if(string.IsNullOrEmpty(nId) == false)

    {

    code

    }


    I am getting an error: Cannot convert from 'string[]' to 'string'

    How to type cast this to string type.



    Would appreciate and help please!!

    Thanks!
    newasp.net, Aug 20, 2008
    #1
    1. Advertising

  2. newasp.net

    imransyed63

    Joined:
    May 16, 2006
    Messages:
    4
    imransyed63, Aug 21, 2008
    #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. Arruba

    connect string

    Arruba, Sep 9, 2004, in forum: Wireless Networking
    Replies:
    4
    Views:
    640
    Yves Konigshofer
    Sep 10, 2004
  2. David
    Replies:
    0
    Views:
    566
    David
    Sep 20, 2004
  3. erike
    Replies:
    2
    Views:
    1,310
    Guest
    Dec 31, 2003
  4. asifjavaid
    Replies:
    0
    Views:
    1,249
    asifjavaid
    Sep 9, 2008
  5. kendarak
    Replies:
    0
    Views:
    1,133
    kendarak
    Jul 12, 2009
Loading...

Share This Page