Sharepoint调用SQL存储过程?
我对 SharePoint 完全陌生。如何创建一个新页面,用户实际上可以单击一个按钮来调用同一服务器上的存储过程?我需要创建 ASP.NET 应用程序吗?
SharePoint 2007 和 SQL Server 2008
I'm completely new with SharePoint. How can I create a new page where the user can essentially click a button that will call a stored procedure on the same server? Am I going to need to create an ASP.NET application?
SharePoint 2007 and SQL Server 2008
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
SharePoint Designer 将允许您将 DataViewWebPart 放置在页面上并让您不断地对其进行调整。 DataViewWebPart 可以从各种数据源(包括 SQL 数据库)填充,因此它可能能够满足您的需求。
SharePoint Designer will allow you to put a DataViewWebPart on a page and let you tweak it endlessly. The DataViewWebPart can be populated from all sorts of data sources including SQL databases so it might be able to meet your needs.
您可以将其创建为 Web 部件。 SharePoint Visual WebPart 有一个内置项目类型。这只是一个始终执行相同存储过程的按钮吗?是否需要有一个程序列表可供选择?该列表是否始终相同,或者是否需要动态填充?
You could create this as a webpart. There's a built-in project type for a SharePoint Visual WebPart. Would this be just a single button that always executes the same stored procedure? Does there need to be a list of procedures to choose from? Would the list always be the same, or would it need to be populated dynamically?