You must Sign In to post a response.
  • Category: .NET

    Hi to all,dis is a vb6 statement,then how to write dis one into c#.pls tell me,

    iQryCnt = UBound(sqlquery) + 1
  • #581971
    try this code

    iQryCnt == Information.UBound(sqlquery) + 1;

    hope this will help you

  • #581972
    Try to use:

    GetUpperBound(sqlquery) + 1;

    Hope it will help.

  • #581983
    Hi vinni you can use the following given code in C#.

    iQryCnt = sqlquery.GetUpperBound(0) + 1;

    Also the code snippet convertor from vb6 to C# is attached here for your information.

    So please use this to convert from vb6 to C#.

    And hoping to see next time questions related to the existing C# code with doubts.

    Pankaj Rajput

  • #582019

    Try the below code

    iQryCnt == UBound(sqlquery) + 1


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.