SharePoint creates a simple Web Part section

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.