We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Get data from an Excel(can have more than one sheet) to parse it to a business class object

Thread ID:

Created:

Updated:

Platform:

Replies:

127880 Dec 15,2016 09:50 AM UTC Dec 19,2016 11:26 AM UTC ASP.NET MVC 5
loading
Tags: XlsIO
Testname
Asked On December 15, 2016 09:50 AM UTC

Get data from an Excel(can have more than one sheet) to parse it to a business class object

Testname
Replied On December 15, 2016 09:52 AM UTC

If I already know the type of my business class object, some kind of casting between an excel(can have more than 1 shet) to a businessclass object. How to do this ?

Testname
Replied On December 15, 2016 09:57 AM UTC

Each excel sheet represents a  single business class object

Abirami Varadharajan [Syncfusion]
Replied On December 16, 2016 11:33 AM UTC

Hi Testname, 
  
Thank you for contacting Syncfusion support. 
  
We have prepared sample as per your requirement and the sample can be downloaded from following location. 
  
Please let us know if you have any concerns. 
  
Regards, 
Abirami. 


Testname
Replied On December 16, 2016 04:11 PM UTC

Now I need a method which will automatically cast "row.Cells[...]" to the right .net type instead of explicity cast it like "Convert.ToInt32(row.Cells[...].Number);"

Abirami Varadharajan [Syncfusion]
Replied On December 19, 2016 11:26 AM UTC

Hi, 
 
We don’t have any implicit method to cast Excel data automatically. So, we request you to cast it explicitly with appropriate .NET type
 
Please let us know if you have any concerns. 
 
Regards, 
Abirami. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;