How do you pass an array [] when using a button from the server tab to client after tab using the result[]
Example:
Server Tab
---------------
string [] names = new string[25];
names[0] = "John";
names[1] = "Mark";
names[2] = "Frederick";
result["names"] = names; <<<<<< get run time ERROR cannot implicitly convert type 'string[]' to runnerDotNEt.XVar
Client After tab
----------------------
var names = result["names"];
alert('names[0]= " + names[0]);
Any feedback / thoughts appreciated.
Best
Mark
Big Timber, MT - USA
Example:
Server Tab
---------------
string [] names = new string[25];
names[0] = "John";
names[1] = "Mark";
names[2] = "Frederick";
result["names"] = names; <<<<<< get run time ERROR cannot implicitly convert type 'string[]' to runnerDotNEt.XVar
Client After tab
----------------------
var names = result["names"];
alert('names[0]= " + names[0]);
Any feedback / thoughts appreciated.
Best
Mark
Big Timber, MT - USA