Results 1 to 2 of 2

Thread: DataView and looping ?[Resolved]

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    DataView and looping ?[Resolved]

    Why this keeps raising the error saying "Cannot implicitly convert type 'int' to 'bool' on this part "i=dv.Count-1" , although count method returns int type ???

    Code:
    for (int i=0; i=dv.Count-1 ; i++)
    {
    //comboBox6.Items.Add(dv[0].Row[i].ToString());
    }
    Last edited by Pirate; Jun 14th, 2003 at 12:09 PM.

  2. #2

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    That's easy actually . "<" fixed the problem . , It's been a time away from C# .

Posting Permissions

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



Click Here to Expand Forum to Full Width