How will U encapsulate button trigger event into text_box event of Pressing Enter key?
Answers were Sorted based on User's Feedback
Answer / sandipan4allinterview
protected void Button1_KeyDown(object sender, EventArgs e)
{
if(e.KeyCode == Keys.Enter)
{
///do your stuff
}
}
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / arvind kumar
encapsulation is a process in which we can get all the
imformation .
Is This Answer Correct ? | 0 Yes | 10 No |
How do you comment in c#?
What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?
Can properties be static in c#?
What are the methods in c#?
What is master page in asp net c#?
Can we extend static class in c#?
What is exe file in c#?
Why we use methods in c#?
What does namespace mean?
What will be the output of the following code?
What is asax file in c#?
What?s an abstract class?