小编fma*_*ma3的帖子

无法加载文件或程序集crdb_adoplus.dll

对于以下错误:

无法加载文件或程序集 '文件:/// C:\ Program Files文件\ SAP的BusinessObjects\SAP BusinessObjects Enterprise的XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' 或它的一个依赖.

有没有办法解决此错误,而不是通过解决方案:

<startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
</startup>
Run Code Online (Sandbox Code Playgroud)

该解决方案在我的应用程序中无效

c# nhibernate crystal-reports

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

如何将Byte []转换为BitmapImage

我需要帮助,我有这个方法从Byte []获取BitmapImage

public BitmapSource ByteToBitmapSource(byte[] image)
{
    BitmapImage imageSource = new BitmapImage();

    using (MemoryStream stream = new MemoryStream(image))
    {
        stream.Seek(0, SeekOrigin.Begin);
        imageSource.BeginInit();
        imageSource.StreamSource = stream;
        imageSource.CacheOption = BitmapCacheOption.OnLoad;
        imageSource.EndInit();
    }

    return imageSource;
}
Run Code Online (Sandbox Code Playgroud)

imageSource.EndInit(); 抛出错误"我们发现没有适合完成此操作的成像组件."

c# wpf bitmapimage

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

显示日期范围之间的数据

问候我有个人的个人资料,包括出生日期我如何获得在1日和2日之间出生的人的信息?

出生日期在SQL Server数据库Compact中我以这种方式获得记录

using (ISession session = NHibernateConfiguration.OpenSession())
{
    var production = session
        .CreateCriteria(typeof(Person))
        .Add(Restrictions.Eq("Date", date))
        .List<Person>();
    return production;
}
Run Code Online (Sandbox Code Playgroud)

c# nhibernate hibernate

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

标签 统计

c# ×3

nhibernate ×2

bitmapimage ×1

crystal-reports ×1

hibernate ×1

wpf ×1