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

How to get the row index on checking a Checkbox in a ListView

1 Answers   TCS,


HOw to Build a Nested GridView Control with ASP.NET?

2 Answers  


what is software testing

1 Answers   TCS,


how to track links visited in google using iframes

0 Answers  


What is the code of Password Recovery or Forget your password? Plz tell in c # language.

0 Answers  






How to Create Scrollable Micro Windows?

2 Answers  


Coding for Synchronizing Cache Access in ASP.NET?

0 Answers  


Code for Communicating over Sockets?

0 Answers  


Give coding for Implementing a Fixed GridView Header in ASP.NET?

1 Answers  


How to get Dynamically Linked Comboboxes Set?

0 Answers   HCL,


How to use Client-side Script to Focus Controls in ASP.NET?

0 Answers  


how to design a ListView control?

1 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)