How will U encapsulate button trigger event into text_box event of Pressing Enter key?
Answer Posted / 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 |
Post New Answer View All Answers
What is primitive types in c#?
List down the fundamental oop concepts?
How does array sort work?
What is a clr host?
What is private protected in c#?
What are the types of constructors?
What is dao in c#?
What are the 2 types of data types available in c#?
What is the difference between console and windows application?
What does addressof operator do in background ?
Why do we need static in c#?
What is session and cookies in c#?
What is Covariance and contravariance in C#?
Why do we need events in c#?
How many types of constructor are there in c#?