小编Mar*_*ski的帖子

将webpart添加到页面后,"列表工具"选项卡不再可用

在SharePoint 2010中,我在上面的列表中添加了我的webpart(标准列表或文档库列表 - 没关系).在此"列表工具"选项卡不可见之后.经过一番挖掘后我发现,即使我添加了一个标准的SharePoint WebParts,这个问题仍然存在.

以下是相同的问题和描述如何重现它:http: //www.endusersharepoint.com/STP/viewtopic.php?f = 10&t = 2027

有没有人为此找到解决方案或真正的解决方法?

//编辑:我找到了一个"解决方案".功能区与"实际"webpart连接.单击列表(以设置焦点)并再次显示选项卡:D

sharepoint web-parts sharepoint-2010

7
推荐指数
4
解决办法
4万
查看次数

以编程方式在CRM SDK 4中创建"连接字符串"

我正在编写应用程序,它使用CRM SDK 4连接到CRM.在第一个版本中,我一直在使用app.config文件("connectionStrings"部分)

<connectionStrings>
  <add name="mycrm" connectionString="Authentication Type=Integrated; Server=http://ServerName/OrganizationName;"/>
</connectionStrings>
Run Code Online (Sandbox Code Playgroud)

和(在代码中):

DataContext ctx = new DataContext("mycrm");
Run Code Online (Sandbox Code Playgroud)

它工作正常.但是现在,应用程序应该让用户选择身份验证类型,输入服务器名称,用户ID,密码等.我已经创建了连接字符串,但我不知道如何使用它.DataContext和CrmConnection对象AFAIK只有具有connectionString名称(来自app.config文件)的构造函数作为参数.当我尝试使用我的connectionString时,我得到异常:

    System.ApplicationException was unhandled
Run Code Online (Sandbox Code Playgroud)

Message ="无法加载连接字符串名称'Authentication Type = Integrated; Server = http:// ServerName/OrganizationNamemsg)位于System.Windows.Application.RunInternal(窗口窗口)的System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame框架),位于C:\ Users\mrobaszynski\Desktop\PU\PaymentsUploader \中的PaymentsUploader.App.Main() obj\Release\App.g.cs:位于System.Threading.ExecutionContext.Run的Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()的System.AppDomain._nExecuteAssembly(Assembly assembly,String [] args)中的第0行(ExecutionContext executionContext ,System.Threading.ThreadHelper.ThreadStart()InnerException:System.NullReferenceException Message ="对象引用未设置为对象的实例.",ContextCallback回调,对象状态).Source ="Microsoft.Xrm.Client"StackTrace:at Microsoft.Xrm.Client.CrmConnection.

c# dynamics-crm dynamics-crm-4

0
推荐指数
1
解决办法
3010
查看次数

指数和对数复杂度的大O表示法

关于大O符号有很多问题,但我没有找到这个问题的明确答案.

我们写道:
O(5n)= O(n)

O(3n ^ 2 + n + 2)= O(n ^ 2)

我们能写出:
O(2 ^(2n))= O(2 ^ n)?

对数复杂度相同:O(n log(4n))= O(n log(n))?

big-o asymptotic-complexity

0
推荐指数
1
解决办法
5566
查看次数