how the value of label is printed through a button in
asp.net web application

Answers were Sorted based on User's Feedback



how the value of label is printed through a button in asp.net web application..

Answer / anamika

protected void Button_Click(object sender,EventArgs e)
{
Response.write(Label1.Text);
}

Is This Answer Correct ?    13 Yes 2 No

how the value of label is printed through a button in asp.net web application..

Answer / archana bobade

protected void Button_Click(object sender,EventArgs e)
{
Label1.Text= "Value is Printed";
}

Is This Answer Correct ?    1 Yes 0 No

how the value of label is printed through a button in asp.net web application..

Answer / vikram

protected void Button_Click(object sender,EventArgs e)
{
Label1.Text="print the value";

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Code Interview Questions

Code for Using Keyboard Events?

0 Answers  


Common UI for Multiple web applications. Suppose there are 35 websites using same third party controls.These 3rd party controls are made together that all 35 websites can use these controls.If we put all 3rd party controls and use its dll in 35 websites,only class files will be accessable. But I want to use CSS,images also in all 35 websites. how I can design the N-tier solution for this project.

0 Answers   TCS,


how can we close a web page in asp.net without using jscript?

4 Answers  


working with fileUpload ?

1 Answers  


how to track links visited in google using iframes

0 Answers  


how to upload a photo? i need to use it in a matrimonial applicaton...

1 Answers  


Coding for Synchronizing Cache Access in ASP.NET?

0 Answers  


How to Bind Nested XML to a Repeater Control with Container.DataItem?

0 Answers  


what is software testing

1 Answers   TCS,


how to upload an excel in c# ASP.Net?

3 Answers  


How to integrate the regional language in asp.net and c# like Telugu, Hindi etc,. send a sample program

3 Answers   Concept, NIIT, Wipro,


How to Create Scrollable Micro Windows?

2 Answers  


Categories
  • ASP.NET Code Interview Questions ASP.NET Code (46)
  • VB.NET Code Interview Questions VB.NET Code (9)
  • C Sharp Code Interview Questions C Sharp Code (51)
  • ADO.NET Code Interview Questions ADO.NET Code (8)