{
SPWeb currentWeb = SPControl.GetContextWeb(Context);
SPList lstDoc = currentWeb.Lists["Shared Documents"];
SPQuery sQuery = new SPQuery();
sQuery.Query = "
sQuery.ViewAttributes = "
SPListItemCollection myColl = lstDoc.GetItems(sQuery);
writer.Write("
"); writer.Write(""); writer.Write("Document Name"); writer.Write(""); writer.Write(" | ");
writer.Write("
"); writer.Write(""+strFileName+""); writer.Write(" | ");
writer.Write("
}
catch (Exception ex)
{
writer.Write(ex.ToString());
}
No comments:
Post a Comment