public void WriteRecords (string[ ] aFieldNameSet, UniDataSet aDataSet)

This method is inherited from UniFile. It writes data to records in a UniData or UniVerse file.

UniDataSet aDataSet specifies a dataset containing the records to which data is to be written.

int[] aFieldNumberSet is the array of fields to which data is to be written.

string[] aFieldNameSet is a list of record IDs to which data is to be written.

If this method fails, it throws a UniFileException.

us.RecordID = “2”;
UniDataSet uSet = us1.CreateUniDataSet();    
					uSet2.Add("2","aaa");
uSet2.Insert("3","bbb");
fl.WriteRecords(uSet);