Search:

Type: Posts; User: Lenn86

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,885

    Re: Selecting First element with IQueryable

    "I was blind, now I can see" :) This problem is solved, thanks for all your assistance jmcihinney!
    Greetings and best wishes from the Netherlands.
  2. Replies
    10
    Views
    1,885

    Re: Selecting First element with IQueryable

    I found out that deserialization isn't the problem.
    When I declare a local list and want to display in the control have the same indexation issue...
    The program runs correctly without applying...
  3. Replies
    10
    Views
    1,885

    Re: Selecting First element with IQueryable

    So when I use the code below all items are displayed correctly:


    The Mainpage class:

    Partial Public Class MainPage
    Inherits PhoneApplicationPage


    ' Constructor
  4. Replies
    10
    Views
    1,885

    Re: Selecting First element with IQueryable

    Yeah the .Take(1) shows the first item after deserialization, but still weird why indexation ( e.g. .First) still does not work??
    The program runs correctly (Option Explicit is on), the list is...
  5. Re: Unable to cast object of type to type IEnumerable

    Hi jmcilhinney

    I came so far to make the objects "ready" to use XMLDeserialization to read the XML file.
    The program runs correctly, but the Array returns an empty list in runtime:


    Class...
  6. Re: Unable to cast object of type to type IEnumerable

    Hi jmcilhinney,

    Thanks for your help.
    I need to build this app as a schoolproject, I need to be able to browse trough the contacts in the list, and the first item of Contact has to be shown at...
  7. Unable to cast object of type to type IEnumerable

    Hi folks,

    I am buidling this app where I use deserialization to obtain a List of the object "Contact", so far so good. When I try to retrieve the first element from this obtained list (which I...
  8. Replies
    10
    Views
    1,885

    Re: Selecting First element with IQueryable

    Hi jmcilhinney,
    Thanks for your fast reply!
    The weird thing is, when I try your suggestion the listbox doesn't give any output, while it does with the "Where"-construction (this shows all items):
    ...
  9. Replies
    10
    Views
    1,885

    Selecting First element with IQueryable

    Hi Guys,
    I am working on a Windows Phone Contacts app and I am trying to make a query of the first IEnumerable element in the variable "contacts".
    The output has to be shown in the Listbox under...
Results 1 to 9 of 11



Click Here to Expand Forum to Full Width