Metainformationen zur Seite
  •  

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Letzte Überarbeitung Beide Seiten der Revision
start:visualstudio2019:programmieren:dotnet:component:programmierbeispiele [2022/12/19 16:02]
wikiadmin [DataTable and DataSet]
start:visualstudio2019:programmieren:dotnet:component:programmierbeispiele [2022/12/19 16:04]
wikiadmin [DataTable and DataSet]
Zeile 83: Zeile 83:
  
 The following example is to convert a List object into a data table. A generic approach allows to convert all properties and only their properties into a data table. Since the properties can also be NULL, this must be taken into account during the conversion. The following example is to convert a List object into a data table. A generic approach allows to convert all properties and only their properties into a data table. Since the properties can also be NULL, this must be taken into account during the conversion.
 +
 +[[https://social.msdn.microsoft.com/Forums/vstudio/en-US/6ffcb247-77fb-40b4-bcba-08ba377ab9db/converting-a-list-to-datatable?forum=csharpgeneral|Example A]]
 +[[https://stackoverflow.com/questions/701223/net-convert-generic-collection-to-datatable|Example B]]
 ==== From IList<T> to DataTable ==== ==== From IList<T> to DataTable ====