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 name a variable in c#?
What is the use of flag in c#?
Describe the ways of cleaning up objects in c#.
Explain about generics in c#.net?
Which class comes after the SortedList class?
Why we use get and set method in c#?
How main method is called in c#?
Write code for palindrome?
What are the ways to deploy an assembly?
What is join in c#?
what is IFormatable
What is wpf application in c#?