CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets for: davecowart
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq;
 
namespace HelpDesk.Models {
    public interface IGenericRepository {
        IQueryable<T> Get<T>() where T : class;
        void Insert<T>(T item) where T : class;
by davecowart   March 17, 2010 @ 1:49pm
704 Views
no comments
 
<script type="text/javascript" charset="utf-8">
   $(document).ready(function(){
      $("a[rel^='prettyPhoto']").prettyPhoto();
   });
</script>
by davecowart   February 27, 2010 @ 12:59pm
Tags:
149 Views
no comments
 
C#
public class DisplayNameAttribute : Attribute {
    private readonly string name;
    public DisplayNameAttribute(string name) { this.name = name; }
    public override string ToString() {
    return name;
}
 
public static class ExtensionMethods {
public static SelectList ToSelectList(this Enum enumeration, bool useSelectedValues) {
    var values = new Dictionary<string, string>();
by davecowart   February 23, 2010 @ 11:14am
Tags:
415 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate