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 Export Data to Excel?

4 Answers   Eastcom Systems,


how to create a search bar which access data from various websites and retrieves the data

0 Answers  


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

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


Data Reader Vs DataSet

5 Answers   TCS,


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

4 Answers  


How we use ajax in asp.net through javaScript. Please givee me an example.

0 Answers  


how to track links visited in google using iframes

0 Answers  


Code for Presenting Parent/Child Data in a Data Grid Row?

0 Answers   TCS,


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

0 Answers  


Give coding for Exception Handling Techniques in ASP.NET?

3 Answers   Microsoft,


What do you create for easier access of data?

3 Answers   NIIT,


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)