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 CLR and its application.?
What are the advantages of using c#?
Are c# objects passed by reference?
What is executescalar in c#?
Is c# a strongly-typed language?
Is null c# operator?
Is string null or empty?
What is an indexer in c#?
What are native functions?
What is delegates in c# and uses of delegates?
What is the difference between c and c# programming?
To create a localized application which namespaces are necessary?
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)