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 2302 posted 13 years ago by dotNetkow
0 533 posted 13 years ago by cabrel
Image Upload and Resize
0 725 posted 13 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 1119 posted 13 years ago by Sazabi02
This is an extension method for splitting strings with a regular expression.
0 638 posted 13 years ago by gyurisc
isNumber string extension method for testing strings.
2 1143 posted 13 years ago by gyurisc
Uses LDAP to find EMail address by using the sAMAccountName. Add System.DirectoryServices to references.
0 879 posted 13 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address. Add System.DirectoryServices to references.
0 1123 posted 13 years ago by poxet
example is .xml to be saved under folder "data"
0 603 posted 13 years ago by darxkies
Enables to create a generic list with anonymous types. Very useful for me :).
1 588 posted 13 years ago by wallybh
You should include these Cookie helpers in your base page class. Enjoy!
1 838 posted 13 years ago by mecha
1 565 posted 13 years ago by scholli
Uses a nested query to prject values from an entity collection.
1 749 posted 13 years ago by housecor
1 554 posted 13 years ago by yesraaj
5 596 posted 13 years ago by hungheroic
create aspnet db in sql from .net tools
1 747 posted 13 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 607 posted 13 years ago by mark4asp
1 968 posted 13 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 895 posted 13 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 1359 posted 13 years ago by dzr_gregory
found this on a forum comment thought it would be useful
2 646 posted 13 years ago by itinko
create html table dynamically
2 675 posted 13 years ago by hairajeshk
Database connection class to be easily incorporated into any db based softwares, using SQLite 3
2 1279 posted 13 years ago by amitkenny
1 704 posted 13 years ago by hoffstein
1 ... 6 7 8 9 10 ... 16