Known facts, ideas, and skill that have been imparted

Browse by Tags

Tagged Content List
  • Blog Post: Creating a new document in a Document Library

    string _siteUrl = " http://localhost "; using (SPSite _site = new SPSite(_siteUrl)) { using (SPWeb _web = _site.OpenWeb()) { SPFolder _folder = _web.Folders["<Document Library Name>"]; _web.AllowUnsafeUpdates = true; _folder.Files.Add("Contoso Final Document + "." + extension, bytes); } }
  • Blog Post: Debugging Web parts in WSS

    Although VS 2005 provides awesome support for developing Web parts one of the pain points can be debugging a web part, some tips on how to debug a web part : Two methods: Direct: Attach debugger to the w3wp.exe process that hosts SharePoint. Automatic: make the url of a given page as...
Page 1 of 1 (2 items)