如何将数据从控制台应用程序绑定到sharepoint中的西雅图母版页 [英] How to bind data from console application to seattle master page in sharepoint

查看:116
本文介绍了如何将数据从控制台应用程序绑定到sharepoint中的西雅图母版页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个要求,用户将在控制台应用程序(命令提示符)中输入一些数据。我们必须捕获该值并将这些值传递给一个函数,在该函数中我们可以连接sql连接字符串并从不同的SQL表中获取一些数据。最后,返回的值应显示在SharePoint Seattle MasterPage中。



每当控制台应用程序运行时,用户输入数据,那么该数据应显示在母版页上。请给我一个详细的解决方案。



谢谢Nagarajan



我尝试过:



我一直在寻找一些解决方案来动态地将数据绑定到母版页但是我失败了。我有相同解决方案的母版页。所有这些都是使用visual studio进行的。

I have a requirement, user will be entering some data in the console application(command prompt). We have to capture that value and pass those value in to a function where we can connect sql connection string and fetch some data from different SQL Table. Finally that returned value should be displayed in SharePoint Seattle MasterPage.

Whenever console application runs user enters data then that data should be displayed to the masterpage. Kindly give me a solution in detail.

Thanks Nagarajan

What I have tried:

I was looking for some solution to bind the data dynamically to masterpage but I am failed. I have the master page in same solution. All these things am doing it using visual studio.

推荐答案

使用SharePoint客户端库代码完成基本操作Microsoft Docs [ ^ ]


这篇关于如何将数据从控制台应用程序绑定到sharepoint中的西雅图母版页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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