private void button1_Click(object sender, EventArgs e)
{
var record = sfDataGrid.View.CreateRecordEntry(new Employee(false, "Tamer", "Manager", "[email protected]", "US", "Perfect", 4, "High", 2000, 20000, "1029 - 12th Ave. S.", "Male"));
sfDataGrid.View.Records.Insert(0, record);
} |