当我尝试将数据加载到表时,它有很多行(大约100K),IE崩溃了,我收到了这个错误:
错误应用程序名称:IEXPLORE.EXE,版本:11.0.9600.17840, 时间戳:0x555fe1bb错误模块名称:MSHTML.dll,版本: 11.0.9600.17842,时间戳:0x5565cf99异常代码:0xc0000602故障偏移量:0x0088930d故障进程id:0xc68故障 应用程序启动时间:0x01d14b89505a40f8错误应用程序路径: C:\ Program Files(x86)\ Internet Explorer \ IEXPLORE.EXE错误模块 路径:C:\ Windows \ SYSTEM32 \ MSHTML.dll报告ID: 326e9329-b77d-11e5-80bd-0050568d51ac错误包全名: 错误的包相关应用程序ID:
我试图在Chrome中运行它,即使它不是那么快,它也适用于那里!
有人有任何想法吗?
<tbody >
@for (int i = 0; i < Model.Rows.Count; i++)
{
// the flag for sum row is: the date/תאריך column in empty = ""
if (Model.Rows[i].ItemArray[ViewBag.FlagIndex].ToString() != "")
{
<tr>
@for (int j = 0; j < Model.Columns.Count; j++)
{
//width="8%"
<td
style="border: #cdcdcd 1px solid;
border-width: 0 1px 1px 0;
text-align: center;">
@Html.Label(Model.Rows[i].ItemArray[j].ToString())
</td>
}
</tr>
}
else
{
//don't sort sum row
<tbody >
<tr>
@for (int k = 0; k < Model.Columns.Count; k++)
{
<td
style="border: #cdcdcd 1px solid;
border-width: 0 1px 1px 0;
color: #3d3d3d;
background-color: #96bfc7;
text-align: center;">
@Html.Label(Model.Rows[i].ItemArray[k].ToString())
</td>
}
</tr>
</tbody>
}
}
</tbody>