DataSet.AddRecord(rec) not available in DotNet Build?

The engine.
Post Reply
Christian
Posts: 44
Joined: Wed Nov 28, 2007 12:32 pm

DataSet.AddRecord(rec) not available in DotNet Build?

Post by Christian »

Hello,

I am just messing with the DotNet Smile wrapper build, but I found no possibility to add records to a dataset beside using ReadFile.

Is there really no way? I think writing a Textfile and reading it again is not so good. Maybe there is a way and I haven't found it.

In C++ there is a AddRecord method, is this one not available in the dotnet/java build?

Thank you and happy Christmas,

Christian
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: DataSet.AddRecord(rec) not available in DotNet Build?

Post by shooltz[BayesFusion] »

jSMILE/Smile.NET have AddEmptyRecord method, which does exactly what the name implies :) You can set the values with freshly added record with SetInt or SetFloat.
Post Reply