converting c# to vb

Results 1 to 2 of 2

Thread: converting c# to vb

  1. #1
    Join Date
    Dec 1969

    Default converting c# to vb

    sorry if this is a stupid one. I&#039;m converting paging code from C# to VB and am stuck on thing:<BR><BR>C#: if (!objPds.IsFirstPage)<BR><BR>VB: ??<BR>I tried if (objPds.IsFirstPage &#060;&#062; "") and if (objPds.IsFirstPage &#060;&#062; null) but keep getting an error. thanks<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: converting c# to vb

    Try:<BR><BR>if not objPds.IsFirstPage then<BR><BR>I would imagine IsFirstPage returns a boolean value, so you want to compare it to true or false.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts