Mysql bağlantı şekli doğrumudur acaba listviewe veri tabanından veri çekmek için load özelliğinedemi yazılması gerek
`using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using.Mysql.Data.MysqlClient;
namespace StokTest
{
public partial class Form2 : Form
{
MysqlConnection con = new MysqlConnection("Server=localhost;Database=ambar;Uid=root;pwd=1234");
MysqlCommand cmd;
MysqlDataAdapter adapter;
DataTable dt;
public Form2()
{
InitializeComponent();
}
private void Form2_Load(object sender, EventArgs e)
{
}
}
}`