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.

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 04:50 AM Dec 19,2016 06:26 AM ASP.NET MVC 5
loading
Tags: XlsIO
Testname
Asked On December 15, 2016 04:50 AM

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 04:52 AM

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 04:57 AM

Each excel sheet represents a  single business class object

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

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 11:11 AM

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 06:26 AM

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.

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.

;