<small id='TwTZG'></small><noframes id='TwTZG'>

      1. <legend id='TwTZG'><style id='TwTZG'><dir id='TwTZG'><q id='TwTZG'></q></dir></style></legend>
        • <bdo id='TwTZG'></bdo><ul id='TwTZG'></ul>

        <i id='TwTZG'><tr id='TwTZG'><dt id='TwTZG'><q id='TwTZG'><span id='TwTZG'><b id='TwTZG'><form id='TwTZG'><ins id='TwTZG'></ins><ul id='TwTZG'></ul><sub id='TwTZG'></sub></form><legend id='TwTZG'></legend><bdo id='TwTZG'><pre id='TwTZG'><center id='TwTZG'></center></pre></bdo></b><th id='TwTZG'></th></span></q></dt></tr></i><div id='TwTZG'><tfoot id='TwTZG'></tfoot><dl id='TwTZG'><fieldset id='TwTZG'></fieldset></dl></div>
        <tfoot id='TwTZG'></tfoot>

      2. 我的代码中出现未知数据库连接器错误

        unknown database connector error in my code(我的代码中出现未知数据库连接器错误)

        <i id='Vxekd'><tr id='Vxekd'><dt id='Vxekd'><q id='Vxekd'><span id='Vxekd'><b id='Vxekd'><form id='Vxekd'><ins id='Vxekd'></ins><ul id='Vxekd'></ul><sub id='Vxekd'></sub></form><legend id='Vxekd'></legend><bdo id='Vxekd'><pre id='Vxekd'><center id='Vxekd'></center></pre></bdo></b><th id='Vxekd'></th></span></q></dt></tr></i><div id='Vxekd'><tfoot id='Vxekd'></tfoot><dl id='Vxekd'><fieldset id='Vxekd'></fieldset></dl></div>
          <bdo id='Vxekd'></bdo><ul id='Vxekd'></ul>

            • <small id='Vxekd'></small><noframes id='Vxekd'>

                <tfoot id='Vxekd'></tfoot>
                <legend id='Vxekd'><style id='Vxekd'><dir id='Vxekd'><q id='Vxekd'></q></dir></style></legend>

                  <tbody id='Vxekd'></tbody>
                  本文介绍了我的代码中出现未知数据库连接器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  Dim rp As New ReportDocument
                  Dim myData As New MyDataSet
                  Dim dt As New MyDataSet.UserDataTable
                  Dim FirstRow As MyDataSet.UserRow = _
                    CType(myData.User.NewRow, MyDataSet.UserRow)
                  FirstRow.MemberID = "1"
                  FirstRow.FirstName = "Amir Hossein"
                  FirstRow.LastName = "Rahnama"
                  myData.User.Rows.Add(FirstRow)
                  
                  Dim SecondRow As MyDataSet.UserRow = _
                    CType(myData.User.NewRow, MyDataSet.UserRow)
                  SecondRow.MemberID = "2"
                  SecondRow.FirstName = "Aziz"
                  SecondRow.LastName = "Khodaie"
                  myData.User.Rows.Add(SecondRow)
                  
                  rp.Load("C:Report.rpt")
                  rp.SetDataSource(myData)
                  CRV1.ReportSource = rp
                  

                  设置数据源的时候报错:

                  When setting the datasource It comes up with an error:

                  未知的数据库连接器错误文件 C:DOCUME~1A_RAHN~1LOCALS~1Temp1Report {832105B2-2E31-4018-9761-77581CC86142}.rpt 中的错误:未知的数据库连接器错误

                  Unknown Database Connector Error Error in File C:DOCUME~1A_RAHN~1LOCALS~1Temp1Report {832105B2-2E31-4018-9761-77581CC86142}.rpt: Unknown Database Connector Error

                  为了让您知道,我通过 Crystal Reports 2008 独立 IDE 创建了该报表,而不是在 VS2010 IDE 中生成它,并且它通过水晶报表向导绑定到该数据集.

                  To let you know, I created that report by Crystal Reports 2008 Stand-alone IDE rather than generating it in VS2010 IDE and it is binded to that dataset dutring the crystal report wizard.

                  推荐答案

                  您需要做的是,您将按以下顺序将属性添加到启动元素:

                  What you need to do is that you will add an attribute to startup element in the following order:

                   <startup useLegacyV2RuntimeActivationPolicy="true">        
                  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
                  </startup>
                  

                  这篇关于我的代码中出现未知数据库连接器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Migrate html helpers to ASP.NET Core(将 html 帮助程序迁移到 ASP.NET Core)
                  Conditional validation in MVC.NET Core (RequiredIf)(MVC.NET Core 中的条件验证(RequiredIf))
                  Is it possible to serve static files from outside the wwwroot folder?(是否可以从 wwwroot 文件夹外部提供静态文件?)
                  Working with multiple resultset in .net core(在 .net 核心中使用多个结果集)
                  Where all types for http headers gone in ASP.NET 5?(ASP.NET 5 中所有类型的 http 标头都去了哪里?)
                  Failed to Authenticate HTTPS connection when attempting GET from WebAPI(尝试从 WebAPI 获取时无法验证 HTTPS 连接)

                  <small id='oF1d8'></small><noframes id='oF1d8'>

                1. <tfoot id='oF1d8'></tfoot>
                    <bdo id='oF1d8'></bdo><ul id='oF1d8'></ul>

                              <tbody id='oF1d8'></tbody>

                            <i id='oF1d8'><tr id='oF1d8'><dt id='oF1d8'><q id='oF1d8'><span id='oF1d8'><b id='oF1d8'><form id='oF1d8'><ins id='oF1d8'></ins><ul id='oF1d8'></ul><sub id='oF1d8'></sub></form><legend id='oF1d8'></legend><bdo id='oF1d8'><pre id='oF1d8'><center id='oF1d8'></center></pre></bdo></b><th id='oF1d8'></th></span></q></dt></tr></i><div id='oF1d8'><tfoot id='oF1d8'></tfoot><dl id='oF1d8'><fieldset id='oF1d8'></fieldset></dl></div>
                            <legend id='oF1d8'><style id='oF1d8'><dir id='oF1d8'><q id='oF1d8'></q></dir></style></legend>