小编moh*_*fil的帖子

如何解决此异常“不支持文化”?

当我在我的服务器的 IIS 上上传我的 ASP.Net 站点时,它抛出以下错误

错误

不支持文化。参数名称:名称 en-SA 是无效的区域性标识符。异常详细信息:System.Globalization.CultureNotFoundException:不支持文化。参数名称:名称 en-SA 是无效的区域性标识符。

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常来源和位置的信息。

堆栈跟踪:

[CultureNotFoundException:不支持文化。参数名称:name en-SA 是无效的文化标识符。] System.Globalization.CultureInfo.GetCultureInfo(String name) +14364298 WebApplication3.UserHomePage.getHourChart1001() +369 版本信息:Microsoft .NET Framework 版本:4.0.30319;ASP.NET 版本:4.0.30319.34209`

我在堆栈溢出上看到了很多关于这个问题的页面。他们中的一些人建议删除此位置上的文件

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

Temporary ASP.NET Files 中没有文件或文件夹。

问题是什么?

asp.net culture

5
推荐指数
2
解决办法
3万
查看次数

How to get all the rows values of Table using Jquery?

I wants to get all the row's records, even it has 2 or 3 columns.

I want to get all the values from tbody.

I tried this code. But it doesn't work

Here is code

$("#btnSearch").click(function() {
  $("table > tbody > tr").each(function() {
    alert($("#FieldNameID").text() + " " + $("#OperatorID").text());
  });
  return false;
});
Run Code Online (Sandbox Code Playgroud)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<button id="btnSearch">Search</button>
<table class="table table-hover " id="queryTable">
  <thead>
    <tr>
      <th>Field Name</th>
      <th>Values</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="FieldNameID">tq.StoreID</td>
      <td class="OperatorID"> IN('1001')</td>
    </tr>
    <tr>
      <td …
Run Code Online (Sandbox Code Playgroud)

html javascript asp.net jquery html-table

3
推荐指数
2
解决办法
2万
查看次数

标签 统计

asp.net ×2

culture ×1

html ×1

html-table ×1

javascript ×1

jquery ×1