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 is Inheritance in C#?
can you overload a method of class A in Class B if it is derived class of A?If it is yes tell me how is it possible?
4 Answers Mphasis, Ness Technologies,
What is the difference between hashtable and dictionary in c#?
can we declare a variable by name "this" in a class? Please explain?
What does firstordefault mean in c#?
What is the keyword used to prevent a class from being inherited by another class?
Can you create enumerated data types in C# ?
What is Delegate and what is it used for ?
What will a loop recorder show?
how to prevent a class from being inherited in c#.net?
When you inherit a protected class-level variable, who is it available to?
Why would you use untrusted verification?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)