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 |
What is the base class for array types?
What do you know about WM_CHAR message?
What is or operator in c#?
What is anonymous method in c#?
What is interface used in c#?
What is the difference between Static, Const and read only?
which access modifier we can declare the abstract class?
What is an arraylist in c#?
What are iterators?
Is array passed by reference in c#?
How do I unload an application domain?
Why ienumerable is used in c#?