Bnjour tt le monde
alors , je travail avce les datagridview et voila mon code :
ystem.Windows.Forms.DataGridView DGV = new System.Windows.Forms.DataGridView();
System.Windows.Forms.DataGrid DG = new System.Windows.Forms.DataGrid();
System.Windows.Forms.DataGridTableStyle DGS = new System.Windows.Forms.DataGridTableStyle();
System.Windows.Forms.DataGridViewImageColumn DGI = new System.Windows.Forms.DataGridViewImageColumn();
System.Data.DataSet DS= newDataSet();
Connexion
cnx =
new
Connexion
();
dataGridView1.Columns.Add(imageColumn);
DGV.Columns.Add(DGI);
cnx.getConnexion().Open();
System.Data.SqlClient.SqlCommand command = newSqlCommand("select * from annonces_ventes_encheres", cnx.getConnexion());
System.Data.SqlClient.SqlDataAdapter DA= newSqlDataAdapter(command);
System.Data.SqlClient.SqlCommandBuilder CB = newSqlCommandBuilder(DA);
DA.Fill(DS, "annonces_ventes_encheres");
DGV.DataSource = DS;
DGV.Enabled = true;
DGV.Visible = true;
DGV.Show();
Aidez moi SVP 



Merci davance 