update

if (tbHerstellerName.Text.Length != 0)
{
oleDbConnection1.Open();
oleDbDataAdapter1.Fill(dataSet1);
oleDbConnection1.Close();

DataRow dtr = dataSet1.Tables["Hersteller"].NewRow();


dtr["Name"] = tbHerstellerName.Text.ToString();
dataSet1.Tables["Hersteller"].Rows.Add(dtr);
oleDbConnection1.Open();
oleDbDataAdapter1.Update(dataSet1, "Hersteller");
oleDbConnection1.Close();
tbHerstellerName.Clear();
}

User Status

Du bist nicht angemeldet.

Aktuelle Beiträge

update
if (tbHerstellerName.Text.Len gth != 0) {...
meincsharp - 13. Sep, 22:15
add Produkte
public partial class AddProdukt : Form {...
meincsharp - 13. Sep, 22:12
drucker
try { printDialog1.AllowSomePag es...
meincsharp - 13. Sep, 22:10
schreiben
private void printDocument1_PrintPage(o bject sender,...
meincsharp - 13. Sep, 22:10
CB auswählen
private void comboBox1_SelectedIndexCha nged(object...
meincsharp - 13. Sep, 22:09

Links

Suche

 

Status

Online seit 5110 Tagen
Zuletzt aktualisiert: 13. Sep, 22:15

Credits


Profil
Abmelden
Weblog abonnieren