按特定列C#

时间:2019-01-22 16:15:36

标签: c# asp.net .net linq datatable

在此示例中,我尝试按特定列(campaign_id)整理DataTable行。 我尝试了这个问题的建议 cannot shuffle rows of DataTable

但是我需要像我提到的那样更加具体

这里是一个示例: 这是我拥有的数据表,按campaign_id列排序

soruce

我希望结果是这样(改组campaign_id):

result

1 个答案:

答案 0 :(得分:0)


Get-WindowsFeature : The WinRM client cannot process the request. Requests must include user name and password when Basic or Digest authentication mechanism is used. Add the
user name and password or change the authentication mechanism and try the request again.
At line:1 char:1
+ Get-WindowsFeature -ComputerName $Name -Credential $Cred
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-WindowsFeature], CimException
    + FullyQualifiedErrorId : Microsoft.Management.Infrastructure.CimException,Microsoft.Windows.ServerManager.Commands.GetWindowsFeatureCommand