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 asp net application object?
What does ascx stand for?
Where is the session stored?
How many languages are supported by .NET at present time?
What are client activated objects and server activated objects?
What is cookies in asp net?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
What are custom user controls in asp.net?
What parameters can you pass in the url of the api? Can get and post use the same url?
What is difference in .net 1.1 and .net 2.0?
How does u get record no from 5 to 15 from a dataset of 100 records?
What are the difference between function and stored procedure in .net programming language?
Explain the difference between server control and html control.
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
What is AutoPostback?