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 2952 posted 14 years ago by dotNetkow
0 878 posted 14 years ago by cabrel
Image Upload and Resize
0 1076 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 1548 posted 14 years ago by Sazabi02
This is an extension method for splitting strings with a regular expression.
0 988 posted 14 years ago by gyurisc
isNumber string extension method for testing strings.
2 1528 posted 14 years ago by gyurisc
Uses LDAP to find EMail address by using the sAMAccountName. Add System.DirectoryServices to references.
0 1335 posted 14 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address. Add System.DirectoryServices to references.
0 1635 posted 14 years ago by poxet
example is .xml to be saved under folder "data"
0 1005 posted 14 years ago by darxkies
Enables to create a generic list with anonymous types. Very useful for me :).
1 928 posted 14 years ago by wallybh
You should include these Cookie helpers in your base page class. Enjoy!
1 1179 posted 14 years ago by mecha
1 876 posted 14 years ago by scholli
Uses a nested query to prject values from an entity collection.
1 1105 posted 14 years ago by housecor
1 848 posted 14 years ago by yesraaj
5 919 posted 14 years ago by hungheroic
create aspnet db in sql from .net tools
1 1089 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 966 posted 14 years ago by mark4asp
1 1297 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 1273 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 1819 posted 14 years ago by dzr_gregory
found this on a forum comment thought it would be useful
2 992 posted 14 years ago by itinko
create html table dynamically
2 1053 posted 14 years ago by hairajeshk
Database connection class to be easily incorporated into any db based softwares, using SQLite 3
2 1776 posted 14 years ago by amitkenny
1 1096 posted 14 years ago by hoffstein
1 ... 6 7 8 9 10 ... 16