SharePoint creates a simple Web Part section of standard Web Parts that can sometimes be powerful and capable of running multiple functions.
This article describes how to create a simple Web Part by using visual Studio. 1. Open VS, click File----New project. 2. Select a blank SharePoint project. Name Smallvillewebpartproject, click OK. Select Deploy as Farm solution.
3. Right-click the project to join the new project. 4. Select the Web Part. 5. Name Customerinformation, click Join. 6. Right-click the new Web Part project. Select Add class, Name CustomerData, and click OK. 7. In the new class. The code changes such as the following: 8. Right-click the core Web Part. Select View Code (or double-click the Web Part). 9. Change the code such as the following: 10. Then double-click on the Customerinformation.webpart to change its title and descriptive narrative properties.
11. You can now deploy this standard Web Part. Click build----Deployment Solution. 12. Join on the page. Click Site Actions-Edit page-Join the Web Part.
13. Navigate to the custom category. Select Customer Info Web part. Click Join.
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
SharePoint creates a simple Web Part section