I am using the LinqToExcel project developed by MIT and hosted on Google Code at http://code.google.com/p/linqtoexcel/wiki/UsingLinqToExcel to parse my dataset from an excel table which looks something like this:
Part of the dataset
I'm trying to…
I am having trouble converting these expressions into lambdas without error (Cannot convert type error):
var excel = new ExcelQueryFactory(@"E:\MAHipotCepaStationProgram.xlsx");
//get list of program names
List testNames = new…
I have the following worked out but quite less than elegant. I'd like to work this out with ToDictionary if possible. Thank you for any help as I'm pretty new.
var excel = new ExcelQueryFactory(@"E:\MAHipotCepaStationProgram.xlsx");
//get list…
I've been fiddling around with this for a couple of hours now and i'm kind of walking in circles. I'm missing something.
I'm trying to read an excel sheet with Linq to Excel. Everything works in order, except for decimals in the sheet. I've tried a…
I've got an Excel spreadsheet from our HR department that needs to be loaded into a database. One column has dates in it. I've searched here on SO and found 2 answers (first one and the second one) which I thought might address my problem, but…
in my program I am reading in an excel sheet and am doing some linq selections, which worked fine.
Problem: I tried to make a preselection by applying an If-statement. The variable will be assigned in every case (if/else) but the compiler doesn't…
I have a weird issue which I totally not understand. Maybe I'm missing something.
var excel = new ExcelQueryFactory("products.xlsx");
//get all products with discount
var discounts = from s in excel.Worksheet() where
…
I'm using LinqToExcel to read an excel file. Everything works fine, but it the content of a cell is a hyperlink, I only get the hyperlink text. I would like to get its URL/email.
try
{
// Connection to the DB
iRentDB db = new iRentDB();
…
I am currently using LinqToExcel to parse through a valid CSV file, but when I reach a particular column (which is not a date), it gets automatically casted into a datetime variable. Example:
2/010/114
will get casted to
cc = "2/10/0114 12:00:00…
I'm reading data from an XLS document, and I'm using the superb LINQ to Excel library.
The problem I have is more of a problem with dealing with LINQ.
I read new and updated incidents from an excel sheet. So I want check if the incident already…
In following excel file, I need to read rows as Student class which define single object for the unique ID and then get all exams associated with this student.
If I used the following code I generate number of students equal to number of rows and…
I'm just starting out in Linq to Excel today, so I assume I've missed something rather simple.
I want to print the entire contents of an Excel Worksheet, But the ExcelQueryable object is not returning the first populated row.
The syntax I've used…
I want to read data from an excel table that looks like this:
Worksheet name is "Data". I store the data into List. Then I do a List.Count, and it is more than 11 even though I only have 11 non-empty rows.
public class ExcelData
…