locked
Accessing SP List in Silverlight RRS feed

  • Spørgsmål

  • Hi Folks,

    It would be appreciated for the answer to my query.

    I am able to access SP List Data from the code given in:

    http://msdn.microsoft.com/en-us/library/ff728647.aspx

    But this works fine if the column doesn't contain any space in between.

    For Ex : I am able to acces "Status", "AssignedTo" but I am not able to access "Action Description".

    Any info:

     


    Regards, Surya
    7. juni 2011 16:20

Svar

  • Try replacing the space with "_x0020_" when you access the columns with spaces in the name. As in "li["Action_x0020_Description"].ToString()" instead of "li["Action Description"].ToString()"
    • Markeret som svar af JSNSoft 9. juni 2011 09:41
    8. juni 2011 02:36

Alle besvarelser

  • Try replacing the space with "_x0020_" when you access the columns with spaces in the name. As in "li["Action_x0020_Description"].ToString()" instead of "li["Action Description"].ToString()"
    • Markeret som svar af JSNSoft 9. juni 2011 09:41
    8. juni 2011 02:36
  • Thanks Chifu,

    Its working.....


    Regards, Surya
    9. juni 2011 09:41