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 skin in asp.net?
what are the security certificates used in webservices?
What are assemblies and namespaces and explain the difference between them ?
Explain the use of view state?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
What is anonymous authentication?
Explain what does wsdl stand for?
What is the mvc model?
What’s difference between “optimistic” and “pessimistic” locking?
In the Repeater control which way you can edit?
What is session in http request?
What is different authentication mechanisms used in ASP.NET?
Explain the difference between an exe and a dll?
where can i gather the materials for MCP certification
What are the differences between application object and session object?