Martin Studer
Grünschnabel
Kann mir niemand helfen?
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
private void button1_Click(object sender, System.EventArgs e)
{
string connectionString =
"Server=localhost;" +
"Database=keys;" +
"User ID=root;" +
"Password=password;";
MySqlConnection dbcon = new MySqlConnection(connectionString);
dbcon.Open();
MySqlDataAdapter dadaten = new MySqlDataAdapter("SELECT * FROM daten", dbcon);
DataSet dsZeug = new DataSet();
dadaten.FillSchema(dsZeug, SchemaType.Source, "daten");
dadaten.Fill(dsZeug, "daten");
DataTable tbldaten = dsZeug.Tables["daten"];
foreach (DataRow drCurrent in tbldaten.Rows)
{
comboBox1.Items.Add(drCurrent["hersteller"].ToString());
}
}