Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between Server.Transfer and
Response.Redirect? Why would you choose one over the other?

Answer Posted / for ref

Please ignore.

Put this in aspx:
<div style="<%= displayProp %>">
<table cellpadding="0" cellspacing="0" border="1">
<tr>
<td>Name:</td>
<td>Thiyagu</td>
</tr>
<tr>
<td>Age:</td>
<td>25</td>
</tr>
</table>
</div>

Put this in .cs
int val = 0;

if (val == 0)
{
displayProp = "display:none;";
}
else
{
displayProp = string.Empty;
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we sort the data from a dataset?

979


Which is better session or viewstate?

960


Explain how is a property designated as read-only?

1008


What is distributed system in asp.net?

1045


What is the difference between ASP.NET Webforms and ASP.NET MVC?

1170


How to use push notification?

1049


What's the use of response.output.write()?

1279


What is the difference between the asp and asp.net?

996


Can you use c# without .net?

991


What is voluum?

979


What is a page life cycle? What are the events in a page life cycle?

890


Define globalization and localization.

1001


What are the differences between clr & cts?

1088


What methods are fired during the page load? Init()

978


What is microsoft windows sharepoint services?

1092