Skip to content

How do you handle fetching and saving combination of static and dynamic object? #314

@3ggerhappy

Description

@3ggerhappy

Hi,

Finding it hard to wrap my head into this, and not sure if possible with ExcelMapper but here it goes:

Say I have an excel w/c the first 5 columns are fixed and succeeding columns are dynamic and i wont know before hand the header names or how may it would be.

Question is, is it possible to map this? what would my class looks like?, i assume it would be like this:

public class TestClass
{
public string FixedColumn1{ get; set; }
public string FixedColumn2{ get; set; }
......
public IEnumerable dynamicColumns { get; set; }
}

also i need to make edits on those dynamicColumns, is it possible to make edit then save it to new excel?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions