To hid unapproved content in SPQuery object set the following property in code behind
as the following.
query.ViewAttributes = "Scope='Recursive' ModerationType='HideUnapproved'";
2010/01/02
Subscribe to:
Post Comments (Atom)
C#,ASP.net,Ajax,SharePoint
No comments:
Post a Comment