SPList pics = web.Lists[PicLibrary]; byte[] fileToUpload = null; SPFile file = pics.RootFolder.Files.Add(fuAvatar.FileName, fileToUpload); where fuAvatar.FileName is the fileUpload control filename
Cloud development @ its best. Snippets, ideas, latest, best practices etc.