Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: for each item in collection loop does not work for datatable

$
0
0
Hi shripaldalal,

Ok I tried it in JScript and it does not work there too.

Sorry, what doesn't work? You said above that you could iterate through the data by using the Count and Item properties. The same technique should work with JScript and V8. The only thing that doesn't work is VBScript's for each statement, and that's because VBScript doesn't recognize those objects as collections.

What are you trying to do that yields "Invalid field assignment"?

The MS Script Control was so powerful we could do so many things with it.

Other than the bug you found that affects SqlDataReader (thanks again for that, BTW!), what are you having trouble with?

Viewing all articles
Browse latest Browse all 2297

Trending Articles