thank you. for your patience.
converting from checkboxes to int representation is the easy part for me.
however I still have trouble dealing with form int to checkboxes after
readying your answer.
I tried
RegexOptions myRegexOptions = (RegexOptions)regexOptions; // regexOptions;
is int form database
if ((RegexOptions.IgnoreCase) & myRegexOptions)
checkBoxIgnoreCase.Checked = true; // and I got
/*
Error 3 Cannot implicitly convert type
'System.Text.RegularExpressions.RegexOptions' to 'bool'
D:\data\IeI\gp\AppCom\IeStringClassProd\RegexParse 2CSV\RegexParse2CSV\RegexP
arse2Csv.cs 421 17 RegexParse2CSV
*/
what did I misunderstand ?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:Oy**************@TK2MSFTNGP04.phx.gbl...
Here is a link to the previous response:
http://groups.google.com/group/micro...ad7715cf3c1832
>
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"GS" <gs**********************@msnews.Nomail.comwrote in message
news:uT**************@TK2MSFTNGP06.phx.gbl...
Hello Nicholas, I was surprised that I could not find my prev post nor
answer to it. I was it must be a mistake of mine at late Saturday
night.
I was searching to my prev post and did not find it: under from: gs. I
tried also by just subject of regexoption. Total posting by me since
June
9
is 3 and only today's post is on regexoptions when I searched
Something went wrong with my newsreader and searches
please repeat your answer here if you don't mind
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote
in
message news:%2****************@TK2MSFTNGP03.phx.gbl...
What was wrong with my answer to your previous post?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"GS" <gs**********************@msnews.Nomail.comwrote in message
news:O4**************@TK2MSFTNGP04.phx.gbl...
I tried converting regexoptions to bits sp I can do bitwise operation
but
I
just could not get it going. I tried Google, so far I failed to find
the
answer.
any hint?
what is happening, is that I retrieved the regexoptions value from
database
stored as int and I am trying to represent that in check boxes.
converting
int to Regexoptions is easy