Click here to Skip to main content
15,923,087 members
Home / Discussions / C#
   

C#

 
AnswerRe: Statusbar Icon - Display Issue Pin
Pablo Hernandez Valdes6-Dec-05 8:31
Pablo Hernandez Valdes6-Dec-05 8:31 
Questionusing regex to find part of a string Pin
melanieab6-Dec-05 3:52
melanieab6-Dec-05 3:52 
AnswerRe: using regex to find part of a string Pin
S. Senthil Kumar6-Dec-05 4:37
S. Senthil Kumar6-Dec-05 4:37 
GeneralRe: using regex to find part of a string Pin
melanieab6-Dec-05 5:09
melanieab6-Dec-05 5:09 
GeneralRe: using regex to find part of a string Pin
S. Senthil Kumar6-Dec-05 5:16
S. Senthil Kumar6-Dec-05 5:16 
GeneralRe: using regex to find part of a string Pin
melanieab6-Dec-05 5:47
melanieab6-Dec-05 5:47 
GeneralRe: using regex to find part of a string Pin
S. Senthil Kumar6-Dec-05 6:00
S. Senthil Kumar6-Dec-05 6:00 
GeneralRe: using regex to find part of a string Pin
melanieab6-Dec-05 7:39
melanieab6-Dec-05 7:39 
Ok, I did get the true and false, but it doesn't make sense (to me) why I'd have trouble below.
What my dv.Find does is get the row number in the datatable that contains "Rich" in it so that I can highlight it.

I have the code in the first post, but where the problem seems to be is:

DataView dv = tCat.DefaultView;<br />
Regex reg = new Regex(@"^Rich");<br />
int i = dv.Find(reg);


When I have "Richard" instead of @"^Rich", it highlights the row just fine.

Any other thoughts????? D'Oh! | :doh:
Thanks again for your help,
Mel
GeneralRe: using regex to find part of a string Pin
S. Senthil Kumar6-Dec-05 20:36
S. Senthil Kumar6-Dec-05 20:36 
QuestionCustom Controls And Events Pin
rich_wenger6-Dec-05 3:48
rich_wenger6-Dec-05 3:48 
QuestionAutoRedraw Pin
Sabry19056-Dec-05 2:47
Sabry19056-Dec-05 2:47 
Question.NET Remoting and recorded sound? Pin
mikker_1236-Dec-05 1:27
mikker_1236-Dec-05 1:27 
Questiondll Pin
ambedkar6-Dec-05 1:26
ambedkar6-Dec-05 1:26 
AnswerRe: dll Pin
Colin Angus Mackay6-Dec-05 1:51
Colin Angus Mackay6-Dec-05 1:51 
Questionalgorithm for 6 digits unique number Pin
Ronen Tidhar6-Dec-05 1:12
Ronen Tidhar6-Dec-05 1:12 
AnswerRe: algorithm for 6 digits unique number Pin
Colin Angus Mackay6-Dec-05 1:19
Colin Angus Mackay6-Dec-05 1:19 
AnswerRe: algorithm for 6 digits unique number Pin
J4amieC6-Dec-05 2:25
J4amieC6-Dec-05 2:25 
GeneralRe: algorithm for 6 digits unique number Pin
Ronen Tidhar7-Dec-05 1:07
Ronen Tidhar7-Dec-05 1:07 
GeneralRe: algorithm for 6 digits unique number Pin
Ronen Tidhar7-Dec-05 1:51
Ronen Tidhar7-Dec-05 1:51 
GeneralRe: algorithm for 6 digits unique number Pin
Dan Neely7-Dec-05 2:09
Dan Neely7-Dec-05 2:09 
GeneralRe: algorithm for 6 digits unique number Pin
Nick Hounsome8-Dec-05 22:40
Nick Hounsome8-Dec-05 22:40 
QuestionAre parameter arrays CLS compliant? Pin
Nish Nishant6-Dec-05 1:02
sitebuilderNish Nishant6-Dec-05 1:02 
AnswerRe: Are parameter arrays CLS compliant? Pin
S. Senthil Kumar6-Dec-05 1:22
S. Senthil Kumar6-Dec-05 1:22 
GeneralRe: Are parameter arrays CLS compliant? Pin
Nish Nishant6-Dec-05 2:32
sitebuilderNish Nishant6-Dec-05 2:32 
QuestionDataTime Pin
papa19806-Dec-05 0:55
papa19806-Dec-05 0:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.