Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

After Migration from share point 2010 to share point 2013.In our custom code(built in visual studio), we are not able to perform any String operation. For e.g.
String key="x"
SPListItem Item = null;
SPList a = site.Lists["A"];
SQL
Item = (from SPListItem b in a.Items
                            where b[Title].ToString().Trim() == key.Trim().ToLower() select mails).FirstOrDefault();


Item returns null, But when i fetch the list by using hard coded value it returns

Posted

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