PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Sistema de Cupons
C# | 2 sec ago
Untitled
Lua | 16 sec ago
Untitled
16 sec ago
Untitled
20 sec ago
Untitled
22 sec ago
Untitled
27 sec ago
Untitled
30 sec ago
Untitled
33 sec ago
Retrieving a byte array stored in a INT field in the database
By: a guest on
Feb 28th, 2012
| syntax:
None
| size: 0.19 KB | hits: 19 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
[Flags]
public enum Permissions
{
Read = 1,
Write = 2,
Execute = 4,
Guillotine = 8,
Lynch = 16
// etc
}
Permissions permissions = (Permissions) (int) dr["Field"]
create a
new version
of this paste
RAW Paste Data
[Flags] public enum Permissions { Read = 1, Write = 2, Execute = 4, Guillotine = 8, Lynch = 16 // etc } Permissions permissions = (Permissions) (int) dr["Field"]