Hi 5*10,
In order to write and read strings to/from a dataset column, you need to use a vector of type string and then use PutStringArray and GetStringArray methods.
For example:
Dataset dsFile(wks, 0);
StringArray sa(4);
// The above is same as vector<string> sa(4);
sa[0] = "File1";
sa[1] = "File2";
sa[2] = "File3";
sa[3] = "File4";
dsFile.PutStringArray(sa);
Easwar
OriginLab