I am trying to add xsltlistviewwebpart and it has to be from announcement list.
How to write this line?
string str = "$Resources:??";//How to get announcement list reference here?
public static string GetLocalizedStringforannouncement(SPWeb web)
{
return SPUtility.GetLocalizedString(str, "core", web.Language);
}
Please help.