Forum AmbivertTran Activity

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

AmbivertTran

Avatar

Badges

Any minute now…

About

Username
AmbivertTran
Joined
Visits
42
Last Active
Roles
Member
Badges
0

AmbivertTran

About

Username
AmbivertTran
Joined
Visits
42
Last Active
Roles
Member
Badges
0

Activity

  • AmbivertTran

    Read Excel file in Xamarin Form
    Hi all,
    I used the XlsIO from syncfusion to read my excel file.
    Here is my code:
    var resourcePath = pickerResult.FullPath.ToString();
    await DisplayAlert("Message", "Path" + resourcePath, "OK");

                ExcelEngine excelEngine = new ExcelEngine();
                IApplication application = excelEngine.Excel;
                application.DefaultVersion = ExcelVersion.Excel2016;
    
                Assembly assembly = typeof(App).GetTypeInfo().Assembly;
                Stream fileStream = assembly.GetManifestResourceStream(resourcePath);
    

    I can get the value in resourcePath but when i GetManifestResourceStream(resourcePath), the Stream fileStream get "NULL" value. How to fix it ?

    April 24