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
Give some salient points of difference between request processor and request dispatcher.
How can we update records in gridview?Is there any appropriate code for it?
What is difference between View State and Hidden Field in ASP.NET?
How will you maintain versioning in asp.net 2.0?
What is the basic difference between asp and asp.net?
What is difference between singleton and single call?
Explain swagger components.
What are the different properties of server control that exists?
Which is better asp.net or php?
What is strong-typing versus weak-typing?
Can you explain how ASP.NET application life cycle and page life cycle events fire?
code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications
Which two new properties are added in asp.net 4.0 page class?
What is _dopostback in asp net?
What is the difference between mvc and asp.net? : Asp.Net MVC