Dear All;
I am beginner for C#.net. I have a small Question.
There is no of textboxes in my form.How to write code When user enter data to one textbox and after press enter key cursor should setfocus to another Text box.
Focus
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Henric Johansson4 reputationPosted Mar 26, 2009, 2:43 AM EDT
It will set that textBox as focused
Vimal KandasamyRank #2,151 · 661 reputationPosted Mar 26, 2009, 3:06 AM EDT
try the following
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
textBox2.Focus();
}