小编BAB*_*ABA的帖子

正则表达式删除Div标签

我有一个div标签,嵌套在许多span和div标签中.

现在我想要一个JavaScript中的正则表达式,它将剥离div标签并获取其中的内容.

javascript regex

5
推荐指数
2
解决办法
8615
查看次数

EPPlus找不到类型或命名空间名称'OfficeOpenXml'(您是否缺少using指令或程序集引用?)

嗨,我正在使用EPPlus在c#2.0中创建excel.我添加了"EPPlus.dll"的引用并添加了

using OfficeOpenXML;
Run Code Online (Sandbox Code Playgroud)

但是当我试图运行解决方案时,它会给出以下错误.

错误:

The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?)
Run Code Online (Sandbox Code Playgroud)

警告1:

The primary reference "EPPlus, Version=3.1.3.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "EPPlus, Version=3.1.3.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1, processorArchitecture=MSIL" or retarget your application …
Run Code Online (Sandbox Code Playgroud)

c#-2.0 epplus

2
推荐指数
1
解决办法
2万
查看次数

我们可以在一个应用程序中遵循多种设计模式吗

我刚刚学习设计模式,有几个问题

1) 应用程序中可以有多种设计模式吗?

2) ASP.NET B2C 应用程序有哪些好的或建议的设计模式?

architecture asp.net design-patterns

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