以编程方式更改xsltlistviewwebpart默认列表视图 [英] Changing the xsltlistviewwebpart default list view programmatically

查看:65
本文介绍了以编程方式更改xsltlistviewwebpart默认列表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我更改列表视图样式时,xsltlistview Web部件上的默认列表视图都不会改变

When ever I change the list view style,  the  default list view on xsltlistview web part does not change at all

我一直在尝试下面的代码,但仍然没有乐趣

I have been trying the following code and still no joy

推荐答案

您可以将应用程序转换为控制台(exe) 应用程序,因此您可以轻松调试代码.

如果代码正常运行,则可以通过以下命令在PowerShell中调用exe:

& "C:\ Lee \ WorkSpace \ ConsoleApp \ ConsoleApp \ bin \ Debug \ ConsoleApp.exe"

此处是一个链接供您参考.

https://social.technet.microsoft.com/wiki/contents/articles/7703.powershell-running-executables.aspx


最好的问候,


这篇关于以编程方式更改xsltlistviewwebpart默认列表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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