I have a situation where data is stored in textfiles with a .js extenstion.
The web application loads the data which resides in a form similar to the
// Contents of 1234.js (1235.js, 1236.js, etc.)
Mcompany = new Array()
Mcompany['Name'] = "Smith"
Mcompany['Address'] = "1120 Oleander St."
Mcompany['City'] = "Brownsville"
Mcompany['State'] = "TX"
There are many thousands of these .js files. In the Browser application,
satisify the user's querries.
displays the data in many different ways.
The point is, the data is "run" in IE, which loads it into the arrays and
then the data available.
Now, I want to be able to interact with these files as the reside on a local
hard disk. But since jscript.NET is compiled, I have to figure out how to
get this data to "run". Compiling each into a dll is not an option.
I have thought about using the Eval() function. Am I asking for trouble?