Welcome To Snipplr
Everyone's Recent Snippets Tagged c#
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Not extensively tested, but seems to work in my sample project.
uses the class I posted here:
http://www.snipplr.com/view/46669/minimist-c-errorlogging-class/
1
1314
posted 13 years ago by kyrathaba
C#
Simplified and Consistent Printing in Silverlight - with Page Margins, Shrink to Fit, and Landscape printing
The following extension method allows you to call Print() on any FrameworkElement, UIElement or group of elements, and print with a variety of settings such as landscape mode, shrink to fit, page centering, and more
0
939
posted 13 years ago by alishahnovin
"Log in" to Salesforce via this code. Borrowed heavily from URL reference.
1
1017
posted 14 years ago by dotNetkow
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
This is an extension method for splitting strings with a regular expression.
0
794
posted 14 years ago by gyurisc
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
Hay dos maneras, la mejor es usar el script manager, tambien ver la diferencia entre
http://forums.asp.net/t/902895.aspx
0
1886
posted 14 years ago by ramirocalero
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
771
posted 14 years ago by mark4asp
For those having trouble with encoding and decoding bencode, here is something to help you.
3
1773
posted 14 years ago by SuprDewd