|
Any help??
I had a look at the intro to regular expressions on this site. The examples are mainly on how to deal with bodies of text. there dosnt seem to be much on finding text within html tags?
Any known tutorials on this?
|
|
|
|
|
Take a look at the HTML Agility Pack[^]
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Scott's link looks like it might help you, but if you don't like that then Regex is probably the way to go. I'm not a Regex master so unfortunately I can't just spit out the pattern you need but something may already exist at the Regex Library[^]
|
|
|
|
|
I came across the agiltiy pack before but I couldnt figure out how to use it. theres not much documentation.
The regex library is great! found exactly what I was looking for.
Thanks for the replies
|
|
|
|
|
Hello...
Are there any easy ways to make label blinking ?
Instead of using Thread or Timer.
Thanks...
|
|
|
|
|
An animated gif file would be the easiest way probably.
|
|
|
|
|
Hello,
I don't think that there is an easier way than using a timer.
But maybe I'm wrong.
All the best,
Martin
|
|
|
|
|
|
I'm using WinForm, not ASP.NET.
|
|
|
|
|
The easiest way would be a Forms.Timer
|
|
|
|
|
I need to Remotely Get Encoder Statistics from a Windows Media Encoder 9 Running on a Remote Computer.
The SDK Documentation, only shows VB and C++ exampls. Is there any way to zaacess it through C#?
|
|
|
|
|
You really should wait way longer than 40 minutes before posting again about the same issue and with very little more information!
Spamming the boards won't get an answer any quicker and will probably make some people ignore you.
|
|
|
|
|
Hello.
Have been trying to search for the real working behind the concept of boxing/unboxing.
I understand the concept and its utility, but dont know what exactly happens behind the scene as per memory address and the apropos changes in the stack and heap memory.
Any information or reference will be of help.
Thanks.
|
|
|
|
|
|
www.kirupa.com
Regards
Chintan
www.visharadsoft.com
(Nothing is so purify as KNOWLEDGE)
|
|
|
|
|
hi friends,
i am doing my project in c# with asp.net
i am using 12-hour format time and
i have two textboxes such as start time and reach time...
i want to compare two textboxes time values being entered...
compare validator is not working since i am using 12-hour format..
can u suggest me the alternative...
regards
gayathri...
gayathri
|
|
|
|
|
|
Hi,
Dont try to compare the strings without the help of DateTime.
Let the DateTime class parse your date strings, then compare the DateTime values.
|
|
|
|
|
Hello all,
I have a form and a few comboboxes in it. When the user drops down a combobox and selects a different item, I wish to execute a piece of code, which involves a alot of database transactions. I am handling the SelectedIndexChanged(object sender, EventArgs e) event of the combobox. But this method gets called even if the user has selected the same item, which was previously selected. Am I handling the wrong event or is there anything more I need to do?
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
brahmma wrote: Am I handling the wrong event
Ofcourse, you are handling the right event.
All you need is a simple if statement block like this
if(comb.SelectedIndex !== currentSelection)
{
/// All your code goes here
/// Where currentSelection is a user defined variable which must be
/// member of your Form class
}
Does this help
Mohamed Gouda
Egypt
|
|
|
|
|
Hello there,
Thank you very much for your inputs. I don't get it. Isn't the handler supposed to check it? The name of the handler is SelectedIndexChanged and why in the hell should I check if it is changed or not? Why does this event handler even exist? Shouldn't this event be triggered only when the selected index of the particular combobox is changed? Oh crap! Is this the way C# works? I think I am going back to MFC.
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Unfortunately, there are a lot of PropertyChanged events in C# that are fired whenever a value is set whether a the value really changed or not.
And it is very annoying!
But going back to MFC isn't really an option for me
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Urs Enzler wrote: Unfortunately, there are a lot of PropertyChanged events in C# that are fired whenever a value is set whether a the value really changed or not.
And it is very annoying!
I'm annoyed too! But, I think I must get used to it rather than bitching about it
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Mohammed Gouda wrote: if(comb.SelectedIndex !== currentSelection)
What is that currentSelection here? Am I supposed to maintain a static variable where I store this information?
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
brahmma wrote: Am I supposed to maintain a static variable where I store this information?
Yes, that is what I mean
Mohamed Gouda
Egypt
|
|
|
|