Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Stored procedures ColdFusion和CFProclesult中的数据集_Stored Procedures_Coldfusion_Dataset - Fatal编程技术网

Stored procedures ColdFusion和CFProclesult中的数据集

Stored procedures ColdFusion和CFProclesult中的数据集,stored-procedures,coldfusion,dataset,Stored Procedures,Coldfusion,Dataset,我想知道是否有一种方法可以在c#中使用cfproclesult作为数据集。我有一个返回两个表的SP,我想把这些表放到cfprocresult中。这可能吗?怎么可能?例如: <cfprocresult name="qResult"> 或者类似的 你的问题毫无意义。C#与在ColdFusion中调用proc有什么关系 忽略C#引用,获取一个resultset属性,该属性指定proc返回值中的哪个resultset放在哪个变量中,例如: <cfprocresult results

我想知道是否有一种方法可以在c#中使用cfproclesult作为数据集。我有一个返回两个表的SP,我想把这些表放到cfprocresult中。这可能吗?怎么可能?例如:

 <cfprocresult name="qResult">

或者类似的

你的问题毫无意义。C#与在ColdFusion中调用proc有什么关系

忽略C#引用,
获取一个
resultset
属性,该属性指定proc返回值中的哪个resultset放在哪个变量中,例如:

<cfprocresult resultset="1" name="table1">
<cfprocresult resultset="2" name="table2">


所有的文档都解释了这一切。在询问代码如何工作之前,最好先进行RTFM。

你的问题没有什么意义。C#与在ColdFusion中调用proc有什么关系

忽略C#引用,
获取一个
resultset
属性,该属性指定proc返回值中的哪个resultset放在哪个变量中,例如:

<cfprocresult resultset="1" name="table1">
<cfprocresult resultset="2" name="table2">


所有的文档都解释了这一切。在询问有关代码如何工作的问题之前,最好先进行RTFM。

您需要对返回中的每个表执行cfproclesult。然后,它们成为自己的查询对象,可以单独处理

<cfprocresult name = "result1" resultSet = "1">
<cfprocresult name = "result2" resultSet = "2">

您需要为返回中的每个表执行cfproclesult。然后,它们成为自己的查询对象,可以单独处理

<cfprocresult name = "result1" resultSet = "1">
<cfprocresult name = "result2" resultSet = "2">

我提到c#和数据集只是为了更容易理解我的问题。我不熟悉coldfusion,但我在c#方面有经验,所以我用它来解释我希望在CF中实现的目标。我提到c#和数据集只是为了更容易理解我的问题。我不熟悉coldfusion,但我在c#方面有经验,所以我用它来解释我希望在CF中实现的目标。