Combinacion de Clarion con Reportes en ASP.NET [英] Combinacion de Clarion con Reportes en ASP.NET

查看:54
本文介绍了Combinacion de Clarion con Reportes en ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Buenas tardes,

Tengo una duda ...
Debo hacer报告了.net,utilizo C#.rdlc和los muestro perfectamente en mis paginas .aspx

不能在任何情况下转换为不可声明的声明...

POR FAVOR ES URGENTE ...

Gracias

Buenas tardes,

Tengo una duda...
Debo hacer reportes en .net, utilizo C# .rdlc, y los muestro perfectamente en mis paginas .aspx

Pero necesito que desde otra aplicacion que esta desarrollada en clarion se vean los reportes o por lo menos convertilos en un ejecutable para ejecutar el reporte desde el clarion...

POR FAVOR ES URGENTE...

Gracias

推荐答案

Ola,

抱歉,没有hablo西班牙语... :)

有一种简单的方法,首先在项目设置选项卡中使.Net程序集可见.

然后像这样编写代码:
Ola,

Sorry no hablo espanol... :)

There''s an easy way to do that, first make your .Net assembly Com Visible in the project setting tab.

and write your code like that:
namespace MyDotNetAssembly
{
   [ClassInterface(ClassInterfaceType.AutoDual)]
   public class ReportHelper
   {
      public void CallDotNet(string parameter)
      {
         // Do what ever you need, call you report etc...
      }
   }
}



在号角一侧:



On the Clarion side:

CallDotNet                routine
   data
dotNetInterop                  long
   code
   dotNetInterop = CREATE(0, CREATE:OLE)
   dotNetInterop{PROP:Create} = ''MyDotNetAssembly.ReportHelper''
   dotNetInterop{''CallDotnet("report parameters")''}



您可能需要与GAC交流.就这样.

Buena suerte.

Valery.



You may have to play a bit with the GAC. That''s it.

Buena suerte.

Valery.


链接 [
This link[^] provides info on mixing .Net and clarion. You need to register to get at the content.

Best regards
Espen Harlinn


这篇关于Combinacion de Clarion con Reportes en ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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