can't or at least I don't know how to perform bitwise op on int or
regexoptions?
Well, if you have an integer which represents a value from the
RegexOptions from the database, you can just cast the value to the
RegexOptions instance, and it should be fine.
If you are looking to combine the checkboxes into a single value, you
can use the | operator to perform bitwise operations when making the value
to go into the database. When coming out of the database, you can use the &
operator (comparing to see if the result is equal to the value you used as
the mask) to determine if the option was picked.
--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com
"GS" <gsmsnews.mic...@msnews.Nomail.com> wrote in message
news:%238Ogfiy...@TK2MSFTNGP02.phx.gbl...