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 2543 posted 14 years ago by dotNetkow
0 689 posted 14 years ago by cabrel
Image Upload and Resize
0 893 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 1299 posted 14 years ago by Sazabi02
This is an extension method for splitting strings with a regular expression.
0 793 posted 14 years ago by gyurisc
isNumber string extension method for testing strings.
2 1327 posted 14 years ago by gyurisc
Uses LDAP to find EMail address by using the sAMAccountName. Add System.DirectoryServices to references.
0 1099 posted 14 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address. Add System.DirectoryServices to references.
0 1379 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 740 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 917 posted 14 years ago by housecor
1 691 posted 14 years ago by yesraaj
5 740 posted 14 years ago by hungheroic
create aspnet db in sql from .net tools
1 913 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 770 posted 14 years ago by mark4asp
1 1106 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 1063 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 1584 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 846 posted 14 years ago by hairajeshk
Database connection class to be easily incorporated into any db based softwares, using SQLite 3
2 1519 posted 14 years ago by amitkenny
1 885 posted 14 years ago by hoffstein
1 ... 6 7 8 9 10 ... 16