DataGridView: Rows.Add() bei vorhandenem DataSource
Verfasst: 13.02.2013, 21:44
Code: Alles auswählen
Dim dt As New DataTable
Dim nr As DataRow
dt = dgvDataGridWithDataSource.DataSource
nr = dt.NewRow()
nr.Item(1) = "Text für Spalte 1"
dt.Rows.Add(nr)
dgvDataGridWithDataSource.DataSource = dt