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 debugging tools come with the .NET ssSDK?
Is dictionary reference type c#?
I want to single value if you give any integer value. Below are examples 1. Input: 123 Output: 6 2. Input: 99 9+9=18 1+8 Output: 9 How to get above output?
What is reflection c#?
What does using do in c#?
What is regex c#?
What is lazy t?
What is data adapter in c#?
How to make a class non-inheritable other than sealed?
What is a ienumerator?
Can a structure be inherited by a class?
main concept of c sharp