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

What are the advantages and disadvantages of session?

1093


What is the use of global.asax file?

1015


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

989


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

1117


How can exception be handled with out the use of try catch?

968


When maintaining session through sql server, what is the impact of read and write operation on session objects?

952


Explain the benefits of viewstate?

979


Explain the difference between asp and asp.net?

974


What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

946


How to comment out asp.net tags?

1026


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

1002


What do you mean by marshalbyref?

1062


I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?

1870


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

1015


What is the use of the tag in the web.config file?

925