使用LinqToExcel满足条件时获取列数据

时间:2015-08-06 17:24:45

标签: c# excel linq linq-to-excel

我正在使用LinqToExcel从excel文件中获取一些数据,它可以很好地处理常见任务,但是当列扩展到很多行时会出现问题。

这是常见任务,获取数据行。

This is the common task, get a row data

但是当同一记录中的列扩展到多行时,我只是无法获得包含所有这些行的单个数据行,而是从“from”和“to”列获得多行具有空数据的行

enter image description here

这是我目前正在使用的代码:

$(document).ready(function()
{ 
    $("li").click(function(event)
    {
        event.stopPropagation();
        // to stop the event to propagating to the parent ul's and closing/opening unwanted dropdowns
        $(event.target).parents('li').eq(0).find(">ul").toggle();
    });
});

所以我的问题是,如何考虑上面的例子,包括“to”和“from”列中的字符串,以及“items”列中的列表,以及如此从我的洞桌?

0 个答案:

没有答案