Jun 14, 2011

get selected value of check list box. asp.net



Dim tempStr As String = ""
For Each Item As ListItem In ChkUnitList.Items
If Item.Selected = True Then
tempStr = tempStr & Item.Text.Trim() & ","
End If
Next

get selected value of check list box. asp.net

Dim tempStr As String = ""
For Each Item As ListItem In ChkUnitList.Items
If Item.Selected = True Then
tempStr = tempStr & Item.Text.Trim() & ","
End If
Next

Jun 2, 2011

Jun 1, 2011

Disable History In c# Asp.net

//Used for disabling page caching
//HttpContext.Current.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
HttpContext.Current.Response.Cache.SetValidUntilExpires(false);
HttpContext.Current.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.Cache.SetNoStore();

What is the use of n-tier architecture and 3-tier architecture?

how to implement 3-tier architecture in asp.net using c#. 3-Tier architecture is also called layered architecture. Some people called it ...