101 Ways to Manipulate the DataGridView Control
http://www.devx.com/dotnet/Article/33748
public Form1()
{
InitializeComponent();
//string[,] bla = { { "a", "b" }, { "c", "d" } };
ad[] bla = { new ad{Phone = "a"}, new ad {Phone = "b"}};
dataGridView1.DataSource = bla;
}
}
class ad
{
public string Phone { get; set; }
public string Model { get; set; }
public string Modif { get; set; }
public string Year { get; set; }
public string Price { get; set; }
public string Date { get; set; }
public string Note { get; set; }
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment