If I'm developing an application that must accommodate
multiple security levels though secure login and my ASP.NET
web application is spanned across three web-servers (using
round-robin load balancing) what would be the best approach
to maintain login-in state for the users?
Answer Posted / a
/* Alternate row color */
for (int j = 0; j < dstNew.Tables[0].Rows.Count; j++) {
if (j % 2 == 0) {
sb.Append("<tr class=\"row\">");
}else{
sb.Append("<tr
class=\"altRow\">");
}
sb.Append("<td>" + dstNew.Tables
[0].Rows[j]["DivisionID"] + "</td>");
sb.Append("<td>" + dstNew.Tables
[0].Rows[j]["DivisionName"] + "</td>");
sb.Append("</tr>");
}
/* Style */
.row{
background-color:Gray;
}
.alrRow{
background-color:Olive;
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the differences between clr & cts?
How can we make sure that Web API returns JSON data only?
What is viewstategenerator?
Define xmlreader class.
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
What is a pixel url?
What is fulltrust?
What is an asp.net validator? And, mention its types.
how to retrieve property settings from xml .config file.
Explain the asp.net page life cycle.
What is the page life cycle in asp.net?
How can you use a custom controls in ASP.NET application?
What is advantage of asp.net?
What is asp.net? How is it different from asp?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?