.Net is ja von Grund auf anders.
Immoment hab ich eben Probleme mit Datenbanken sprich auslesen kein Thema und neue Einträge hinzufügen geht auch NUR übernimmt er diese nicht in die DB.
Und ja kp wie das geht und in dem GalileoComputing is das auch wieder anders gehandhabt als ich das habe -.-
Dim Count As Integer = Haupt_Form.BSProjektPos.Count
Haupt_Form.BSProjektPos.AddNew()
Haupt_Form.BSProjektPos.Current("I_POS") = Count + 1
Haupt_Form.BSProjektPos.Current("C_BESCHREIBUNG") = Me.txtBeschreibung.Text
Haupt_Form.BSProjektPos.Current("C_FERTIG_PROZENT") = Replace(Replace(Me.txtFertig.Text, " %", ""), "%", "") & " %"
Haupt_Form.BSProjektPos.Current("D_KOSTEN") = Me.txtNetto.Text
Haupt_Form.BSProjektPos.Current("D_KOSTEN_MWST") = Me.txtBrutto.Text
Haupt_Form.BSProjektPos.EndEdit()
For a = 1 To Haupt_Form.dgvPos.Columns.Count - 1
Haupt_Form.dgvPos.Columns(a).AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCellsExceptHeader
Next
Haupt_Form.SQLADP.Update(Haupt_Form.gDTProjektPos)
Da bringt er nen Error ind er Letzten Zeile.