How will U encapsulate button trigger event into text_box event of Pressing Enter key?

Answers were Sorted based on User's Feedback



How will U encapsulate button trigger event into text_box event of Pressing Enter key?..

Answer / ram

by using textchanged event u can fire trigger

Is This Answer Correct ?    8 Yes 3 No

How will U encapsulate button trigger event into text_box event of Pressing Enter key?..

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

How will U encapsulate button trigger event into text_box event of Pressing Enter key?..

Answer / arvind kumar

encapsulation is a process in which we can get all the
imformation .

Is This Answer Correct ?    0 Yes 10 No

Post New Answer

More C Sharp Interview Questions

What debugging tools come with the .NET ssSDK?

0 Answers   Siebel,


Is dictionary reference type c#?

0 Answers  


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?

1 Answers   AxSys,


What is reflection c#?

0 Answers  


What does using do in c#?

0 Answers  






What is regex c#?

0 Answers  


What is lazy t?

0 Answers  


What is data adapter in c#?

0 Answers  


How to make a class non-inheritable other than sealed?

7 Answers  


What is a ienumerator?

0 Answers  


Can a structure be inherited by a class?

3 Answers  


main concept of c sharp

3 Answers  


Categories