|
Group: Forum Members
Posts: 18,
Visits: 109
|
Hey, Attempting to do as you suggest "by creating a class that inherits NMailMergeDataSource, overriding its GetDataTablecreate a class that inherits from NMailMergeDataSource." However i get these compiler errors ErrorCS0115'DocumentMergeDataSource.Xwr()': no suitable method found to override ErrorCS0115'DocumentMergeDataSource.Wwr()': no suitable method found to override ErrorCS0534'DocumentMergeDataSource' does not implement inherited abstract member 'NMailMergeDataSource.Xwr()' ErrorCS0534'DocumentMergeDataSource' does not implement inherited abstract member 'NMailMergeDataSource.Wwr()'
this is the code "public class MyMailMergeDataSource : NMailMergeDataSource { public override NDataTable GetDataTable() { Business.DocumentDataSet ds = new Business.DocumentDataSet(); return ds.DocumentToNDataTable();
}
internal override string Wwr() { throw new NotImplementedException(); }
internal override string Xwr() { throw new NotImplementedException(); } }"
|