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
What is windows active directory authentication?
How many types of session in ASP.NET
What is difference between datalist and gridview?
WSDL means?
To bind columns manually which tags do you need to add within the asp:datagrid ?
How does a content page different from a master page?
In which event of page cycle is the viewstate available?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
Explain the concept of MVC Scaffolding?
What is the difference between union and join?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
How can we communicate with each server in N-tier Architecture? and what are the methods?
How do you identify that the page is postback?
Why is this service branded with windows livetm?
How to add DateTime Control in normal DataGrid Server Control?