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
What is a reflection?
What are the new data controls in asp.net 2.0?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely
Explain the main function of url routing system in asp.net mvc? : asp.net mvc
What is difference between viewstate and session in asp net?
What is asynchronous call?
Why would a company use an application service provider?
What is a session http?
Please briefly explain the usage of global.asax?
How Can assign alias name for ASP.NET Web API Action?
Explain what is clr?
What is runat?
What is cached data phone?
How do you declare static variable? What is its lifetime?