Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Getting Error for the code below -
C#
query.InnerXml = "<where><eq><fieldref name="ows_LinkFileName" /><value>
Type='Text'>"+FileName+"</value></eq></where>";

{"'<', hexadecimal value 0x3C, is an invalid attribute character. Line 1, position 1."}

Cant get the id of the file from sharepoint last uploaded.
Posted
Updated 29-Nov-11 1:09am
v2
Comments
RaisKazi 29-Nov-11 7:09am    
Edited: 1) Formatting 2) Added "pre" tag.
taqithaki 29-Nov-11 7:13am    
please explain it clearly
[no name] 29-Nov-11 8:16am    
Explain more about where you are using this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900