2
Vote

action after import

description

hi, i am using the excel import.
i would like to make an auto action after ir finish the imports.
In my case, i import data, and then i must assing a relation to another table for each register.
To do this i must put a button to make the action manually. I would like to auto throw the ejecution of a function after the import finish.

thanks

comments

valeriuz wrote Jun 10, 2014 at 10:29 AM

This is what I'm looking for also:
Excel.Import<T>(..., Action<bool, IVisualCollection<T>> OnCompleted)

void OnCompleted(bool importResult, IVisualCollection<T> importedData)
{ }