>
>I had to fire up VB to be sure I'd remembered the syntax correctly (and to remind myself how much I prefer C# (g)). But I don't really know whether it will work properly with the DataTable/DataView bits....>
>Quick scan of it looks ok, but again I'm not 100% sure I know what Marc really needs to have done.
>
>
>BTW what's your 'favorite online C#-to-VB converter' ?>
>I have two of them that I like:
>
>
http://www.carlosag.net/Tools/CodeTranslator/ - translates in both directions
>
http://authors.aspalliance.com/aldotnet/examples/translate.aspx - C#-to-VB only
.
Thx. Never looked for anything like that before. I have no trouble translated VB -> C# - it's only the reverse that give me pause.
Both were interesting. Both tripped up on:
int i =25;
int i2 = i < 25 ? 1 : 0;
(g)