如何使用visual studio2010在sharepoint 2010中创建Webpart? [英] How Can I Create A Webpart in sharepoint 2010 using visual studio2010 ?

查看:95
本文介绍了如何使用visual studio2010在sharepoint 2010中创建Webpart?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨开发者,



新用户共享点Web部件。请清楚以下疑问,



1.如何创建网页部分?我需要使用visual studio吗?

2.如何在visual studio中创建webpart?

3.在visual studio中创建webpart后,我怎么能解密?我怎样才能将它添加到我的sharepoint网站?





我的要求是在webpart中显示列表中的项目。我在我的共享点网站上有列表,我该怎么办呢?



请帮助我。

解决方案

< blockquote> 1)从你的VS Sharepoint模板中添加新项目 - >添加Visual Web部件/ webpart

2)在您的webpart上写下您想要的控件和代码

3)选中View->您的VS应用程序中的服务器资源管理器,您应该连接到您的sharepoint服务器。

4)部署您的webpart将自动显示在您的sharepoint站点的Web部件galary中





dipsmak


Hi Developers,

Am new to share point web parts. Please clear below doubts,

1.How can i create a web part? Do i need to use visual studio?
2. How can i create webpart in visual studio?
3.After creating webpart in visual studio , how can i depoly? how can i add that to my sharepoint site?


My requirement is to show the items of a list in webpart. I have list in my share point site,what should i do next ?

Please help me.

解决方案

1) From your VS Sharepoint template simply add new item - > add Visual web part/ webpart
2) write your desired controls and code on your webpart
3) check View- > Server explorer in your VS application, you should be connected to your sharepoint server.
4)on deploying your webpart will be automatically displayed in Web part galary in your sharepoint site


dipsmak


这篇关于如何使用visual studio2010在sharepoint 2010中创建Webpart?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆