Torna al Thread

Dim SQLWhereAs String = "Nome = 'Mario'" Dim foundRows() As DataRow foundRows = retDataTable.Select(SQLWhere) Dim FilterDataTable As DataTable = retDataTable.Clone() 'Copio solo la struttura del DataTable senza dati 'Importo le righe For Each drSingleRow As DataRow In foundRows FilterDataTable.ImportRow(drSingleRow) Next
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5