Asp中怎样使用 .net 对象返回的 数组???????????????????
Asp中怎样使用 .net 对象返回的 数组???????????????????
namespace NetDNA{
class dotNetCLass
{
public string [] getArray()
{
return new string[16] ;
}
}
}
<%
Set obj = Server.CreateObject("NetDNA.dotNetCLass")
Dim str
For Each str in dotNetCLass.getArray() ' 类型不匹配 ??
Response.Write( str )
Next
%>
为什么 类型不匹配 ?? 怎样解决?