Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Why i import a External list, and Add to my code the error is Shown:

Name cannot begin with the '-' character, hexadecimal value 0x2D. Line 1, position 316.

Here is screen Shot. How can I run the code without this error. Where is main reason.

enter image description here

share|improve this question
1  
Are you having for ( int iterator - 0 rather than for ( int iterator = 0 at the start of the loop? The quality of the image is ridiculously poor so makes it practically impossible to read the text. –  TZHX Dec 7 '12 at 15:25
1  
@TZHX Try zooming in... –  Mike Dec 7 '12 at 16:11
1  
Try analyzing by debugging what the query "listaDniUrlopow" actually found... –  Mike Dec 7 '12 at 16:18
    
Thanks :) I deboug and found aut a problem Its was because the first elements start with "<--" –  Grzegorz Z Dec 10 '12 at 9:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.