U can use MouseLeave Event in C# .
Fisrt fetch the data in dataset or datatable then in the mouseLeave event check the cohdition for the contentin textbox ie. for name:
private void textBox1_MouseLeave(object sender, EventArgs e)
{
if (textBox1.Text == ds.tables[0].rows[0]["name"])
textBox2.text...........
}