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 Delay Signing?
Why would you use untrusted verificaion?
What?s a multicast delegate?
What is thread in c#?
To allow an element to be accessed using a unique key which .NET collection class is used ?
What is the advantage of dependency injection?
What does console readkey do in c#?
if i used stored procedure for retrieving the data from sql server.in front end i had used data reader.when 100 records are there in table.when it has displayed ten records in frontend database has been collapsed.then where should our data available...
Can we make a class private in c#?
Is there an equivalent of exit() for quitting a c# .net application?
How long will it take to learn c#?
why C# called C#
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)