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 integrate the regional language in asp.net and c# like Telugu, Hindi etc,. send a sample program

3 Answers   Concept, NIIT, Wipro,


Code for Getting Information About A File?

1 Answers  


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

0 Answers  


how to convert Dataset to Object Array or list in c# .net

4 Answers  


How to Export Data to Excel?

4 Answers   Eastcom Systems,






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

1 Answers  


Code for Sending E-Mail with System.Web.Mail?

2 Answers  


what is the value that reside in a hidden field when no value is assigned to it?how it can be used in a if statement??

1 Answers  


How to send e-mail from an ASP.NET application?

16 Answers   DataPoint, Infosys, Persistent, Radar, TCS, Wipro,


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

0 Answers  


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

3 Answers  


Coding for .NET Delegates?

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