Page 1 of 1

Create a new SimpleDataTable at Runtime

Posted: Wed Apr 13, 2016 9:01 pm
by SyG
Hi,

Is there a way to create SimpleDataTable at runtime in VB or/and read and write from it.

All the examples i found was in C#

Thank you

Re: Create a new SimpleDataTable at Runtime

Posted: Thu Apr 14, 2016 11:47 am
by odklizec
Hi,

Are you aware that there is an option in Ranorex to convert C# code to VB code (and vice versa)? You can find it under menu Tools >> Convert Code To menu.

Re: Create a new SimpleDataTable at Runtime

Posted: Thu Apr 14, 2016 3:27 pm
by krstcs
When you say "SimpleDataTable" are you talking about the Ranorex Data Connector type?

If so, why are you creating it at runtime?

Also, if you really need to dynamically create data sets at runtime, you should use a database, as SimpleDataTables, Excel, and CSV are all pretty static (and it is better to leave them that way).