Kod:
protected void TxtId_TextChanged(object sender, EventArgs e)
{
GridViewRow currentRow = (GridViewRow)((TextBox)sender).Parent.Parent.Parent.Parent;
TextBox txt = (TextBox)currentRow.FindControl("TxtId"); /1.kolondaki Textbox
TextBox txt2 = (TextBox)currentRow.FindControl("Txt2"); /2.kolondaki Textbox
if(txt.Text.Length>2)
{
MyBeep(1000, 1500);
txt2.Focus();
}
}