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
Why to use “finally” block in c#?
What is a destructor in c#?
What is desktop GUI application?
What is difference between array and collection?
Explain About web methods and its various attributes
What is multithreading? What are the problems that comes with multithreading and how to manage them?
What is args c#?
What are instance fields in c#?
hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks
What is a console?
What is Satellite Assemblies ?
What is static variable in c#?
What is cosole application?
Is array passed by reference in c#?
Are tuples mutable c#?