Welcome To Snipplr


Everyone's Recent C# Snippets



1 ... 6 7 8 9 10 ... 16
By default, enum values cannot have spaces in them (i.e. "Created Date" can only be "CreatedDate"). With this method, we can change that!
0 2540 posted 14 years ago by dotNetkow
0 685 posted 14 years ago by cabrel
Image Upload and Resize
0 890 posted 14 years ago by vedgiee
Modifies the file name in case an existing filename is in the specified path. (Ex: myfile.dat myfile(1).dat myfile(2).dat myfile(3).dat)
0 1298 posted 14 years ago by Sazabi02
This is an extension method for splitting strings with a regular expression.
0 792 posted 14 years ago by gyurisc
isNumber string extension method for testing strings.
2 1326 posted 14 years ago by gyurisc
Uses LDAP to find EMail address by using the sAMAccountName. Add System.DirectoryServices to references.
0 1095 posted 14 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address. Add System.DirectoryServices to references.
0 1373 posted 14 years ago by poxet
example is .xml to be saved under folder "data"
0 782 posted 14 years ago by darxkies
Enables to create a generic list with anonymous types. Very useful for me :).
1 738 posted 14 years ago by wallybh
You should include these Cookie helpers in your base page class. Enjoy!
1 1009 posted 14 years ago by mecha
1 714 posted 14 years ago by scholli
Uses a nested query to prject values from an entity collection.
1 916 posted 14 years ago by housecor
1 688 posted 14 years ago by yesraaj
5 740 posted 14 years ago by hungheroic
create aspnet db in sql from .net tools
1 912 posted 14 years ago by hairajeshk
Why? So that your class can be used with collection classes. // basic class Every object has a GetHashCode() and Equals() method by default which it inherits from Object. Unfortunately these methods are useless as they stand because they say no...
1 767 posted 14 years ago by mark4asp
1 1103 posted 14 years ago by electroNik
Notes:\r\n\r\n(1) your namespace\'s using section should include the following:\r\nusing System.Net.Mail;\r\n\r\n(2) my example code places the email-sending code in a Button\'s Click() event-handler
3 1060 posted 14 years ago by kyrathaba
This method can execute XML-RPC call and return response. Can be useful for working with XML-RPC API's like Snipplr.com XML-RPC API and other
4 1581 posted 14 years ago by dzr_gregory
found this on a forum comment thought it would be useful
2 810 posted 14 years ago by itinko
create html table dynamically
2 843 posted 14 years ago by hairajeshk
Database connection class to be easily incorporated into any db based softwares, using SQLite 3
2 1513 posted 14 years ago by amitkenny
1 883 posted 14 years ago by hoffstein
1 ... 6 7 8 9 10 ... 16