Click here to Skip to main content
15,904,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get Data From OLEDBDataReader Pin
pmarfleet7-Dec-07 3:49
pmarfleet7-Dec-07 3:49 
GeneralRe: Get Data From OLEDBDataReader Pin
Dr. Emmett Brown7-Dec-07 3:57
Dr. Emmett Brown7-Dec-07 3:57 
GeneralRe: Get Data From OLEDBDataReader Pin
tr_thorn8-Dec-07 2:53
tr_thorn8-Dec-07 2:53 
Questionhow to use "bgcolor"? Pin
Imran Adam7-Dec-07 3:24
Imran Adam7-Dec-07 3:24 
AnswerRe: how to use "bgcolor"? Pin
Ennis Ray Lynch, Jr.7-Dec-07 3:27
Ennis Ray Lynch, Jr.7-Dec-07 3:27 
GeneralRe: how to use "bgcolor"? Pin
Imran Adam7-Dec-07 3:30
Imran Adam7-Dec-07 3:30 
GeneralRe: how to use "bgcolor"? Pin
Pete O'Hanlon7-Dec-07 3:46
mvePete O'Hanlon7-Dec-07 3:46 
GeneralRe: how to use "bgcolor"? Pin
Imran Adam7-Dec-07 8:28
Imran Adam7-Dec-07 8:28 
AnswerRe: how to use "bgcolor"? Pin
Skippums7-Dec-07 3:53
Skippums7-Dec-07 3:53 
GeneralRe: how to use "bgcolor"? Pin
Imran Adam7-Dec-07 8:28
Imran Adam7-Dec-07 8:28 
Generalquery check field which has a _ Pin
eyeseetee7-Dec-07 2:57
eyeseetee7-Dec-07 2:57 
GeneralRe: query check field which has a _ Pin
Imran Adam7-Dec-07 3:27
Imran Adam7-Dec-07 3:27 
GeneralRe: query check field which has a _ Pin
pmarfleet7-Dec-07 3:40
pmarfleet7-Dec-07 3:40 
GeneralRe: query check field which has a _ Pin
pmarfleet7-Dec-07 3:31
pmarfleet7-Dec-07 3:31 
GeneralRe: query check field which has a _ Pin
eyeseetee7-Dec-07 3:37
eyeseetee7-Dec-07 3:37 
GeneralRe: query check field which has a _ Pin
pmarfleet7-Dec-07 3:44
pmarfleet7-Dec-07 3:44 
GeneralWindows Service Application Pin
Chandan_Kr7-Dec-07 2:31
Chandan_Kr7-Dec-07 2:31 
GeneralRe: Windows Service Application Pin
Pete O'Hanlon7-Dec-07 2:38
mvePete O'Hanlon7-Dec-07 2:38 
GeneralRe: Windows Service Application Pin
Matthew Butler7-Dec-07 2:42
Matthew Butler7-Dec-07 2:42 
GeneralRegex problem Pin
Member 30793837-Dec-07 2:17
Member 30793837-Dec-07 2:17 
GeneralRe: Regex problem Pin
Matthew Butler7-Dec-07 2:29
Matthew Butler7-Dec-07 2:29 
GeneralRe: Regex problem Pin
Skippums7-Dec-07 4:06
Skippums7-Dec-07 4:06 
GeneralRegex problem [modified] Pin
t4ure4n7-Dec-07 1:42
t4ure4n7-Dec-07 1:42 
I have a method which uses regex.... shown below

<b>string pattern = "(?<before>.*)(?<junk><table class="MyTable" cellspacing="2" cellpadding="1" width="144" border="0">.*</table><!--MyTable- -->)(?<after>.*)";
string matchEvaluator = "${before} ${after}";
try
{
local_string = Regex.Replace(local_source, pattern, matchEvaluator);
}
catch (Exception er)
{
string g = er.Message;
}

string wr = HTMLWriter.htmlWriter.WriteHTMLFile(@"C:\trimExtras.html",
local_string);</after></junk></before></b>

I want to remove certain part of html page with this regex
the problem is it does not work... it takes a long time i.e hangs the app and when i write it to html file its still the same i.e does not replace any thing

<div class="ForumMod">modified on Friday, December 07, 2007 7:52:14 AM</div>

GeneralRe: Regex problem Pin
J4amieC7-Dec-07 1:46
J4amieC7-Dec-07 1:46 
Generalquery displaying data Pin
eyeseetee7-Dec-07 1:32
eyeseetee7-Dec-07 1:32 

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.