I had added Attributes to model I want my xls file to be bind. Like:
[ExcelColumn("Id")]
public string Id{ get; set; }
But after all I need to specify mapping anyway, because there is no AddMapping overload without any arguments:
var excel = new…
I am working with a client to import a rather larger Excel file (over 37K rows) into a custom system and utilizing the excellent LinqToExcel library to do so. While reading all of the data in, I noticed it was breaking on records about 80% in and…
I am moving a project to Azure. The project is using LinqToExcel, to read data from an Excel file.
LinqToExcel has a couple of dependencies, which is not supported in a Azure WebApp. So, i am migrating the code to EPPlus.
But, how could a lookup…
I have a CSV where one of two of the columns are dates, "Due Date" and "Review Date" and both have the format dd/MM/yyyy HH:mm
In my row to use for LinqToExcel these two columns are:
[ExcelColumn("Due Date")]
public DateTime DueDate { get; set;…
I've encountered a problem. I'm trying to read data from xlsx document using LinqToExcel. The data is retrieved but the document has cells which are interpreted as formulas with text like "=- Something". Is it possible to get those cells text and…
I am trying to import excel data using LinqToExcel in my asp.net mvc project. I am importing an Excel that has 2 columns, 1 is Itemcode and other is Quantity.
It has 1 row.
Quantity column has value 0.8. When the Excel is uploaded, the value…
I am using LinqToExcel to get the content of the excel file out.
With header mapping class like the following I can map the property of my class to a column in the excel:
public class Transaction
{
[ExcelColumn("Trans Id")]
public string…
I am importing excel data into my DB, which works perfectly fine, but only if the spreadsheet is open. If it is not open, it gives an error of "Expected table not in correct format", any ideas why ? Thanks in advance for any help!
[HttpPost]
…
I trying to load worksheet names from an excel using LinqToExcel.
using the following line of code
excelQueryFactory.GetWorksheetNames();
The worksheet names are ["$2,00","$5.00"].
but load ["2,00" , "5,00"]. The $ sign is missing.
What i do…
First of all below is my Excel file.
+-----------------+-----------------------------+
| Data | Output |
+-----------------+-----------------------------+
| URL | http://www.gmail.com …
I would like to know is if I have an excel file and I am trying to get data via linq query will this be posible?
Excel file format
+-----------------+-------------+
| Inputlocation | Inputvalue |
+-----------------+-------------+
| 1 …
I'm using LinqToExcel to read in data from an excel spreadsheet. However, when reading in data with numbers decimal places, it will round to the second decimal place. How do i stop this?
E.G excel data = 12.1552456
But LinqToExcel will only read the…
I use LinqToExcel to read an Excel file in my C# console app. However it only reads the first 254 rows and ignores the rest. How to troubleshoot what's wrong?
I want to read the column names of an excel file generated using EPPlus with LinqToExcel. This is what I have done so far
var excelFile = new ExcelQueryFactory(excelPath);
IQueryable excelSheetValues = from workingSheet in…