Jun 30, 2011
Jun 24, 2011
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
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();
//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();
Subscribe to:
Posts (Atom)
-
Remarks This property specifies the appearance of the embedded Windows Media Player. When uiMode is set to "none", "mini...
-
<body> <form id="form1" runat="server"> <img class="RibbonL" src="Imag...
-
Partial Class Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Lo...
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 ...