Format:
Recent snippets matching tags of DataBind
enum ReportTypes { Country, CountryState, CountryStateZone, CountryStatePostCode, CountryZone, CountryStateCounty } var reportTypes = new Dictionary<int, string> () { {(int)ReportType.Country, "By Country"}, {(int)ReportType.CountryState, "By Country, State"}, {(int)ReportType.CountryStateZone, "By Country, State, Zone"},
425 Views
no comments
//Uneven Row <%# Container.DisplayIndex % 2 == 0 ? "" : "altRow" %> // Datetime Formatter with Culture <%# ((DateTime)Eval("LogDatum")).ToString("t", System.Globalization.CultureInfo.CurrentCulture) %> // Datetime Formatter <%#Eval("LogDatum", "{0:HH:mm}")%> //Nullable Boolean
219 Views
no comments
private void GetResourceSet() { this.ResourceSet = Request.Form[this.lstResourceSet.UniqueID]; if (ResourceSet == null) this.ResourceSet = Request.QueryString["ResourceSet"]; if (this.ResourceSet == null) this.ResourceSet = ViewState["ResourceSet"] as string; if (this.ResourceSet == null) this.ResourceSet = "";
501 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
