| |
| |
| |
|
Page: 1 2
Comments:
<0> hey <1> :) <0> :) <2> :) <3> hi. <div cl***="foo">Text</div> <- how would I get Text from div cl***="foo" using XmlDocument? I tried googling but couldn't find example that covers that <4> innerHTML (I think) <3> InnerText, but I don't know how to express div cl***="foo" <3> I want it only from div cl***="foo" <4> //div[@cl***="foo"]/value ? <4> Oh. you want text don't you :) <4> I did this the other day, just a moment <3> thanks <3> i got it :) <3> foreach (XmlNode n in xdoc.SelectNodes("//div[@cl***=\"udu-2\"]")) <3> Console.WriteLine(n.InnerText); <3> why // though?
<3> I actually tried it without // earlier based on the samples I googled up <4> That'll match any Xpath beginning with /div <4> Regardless of their absolute path <3> I see <4> So they could be /html/body/div <3> yeah <4> Glad it worked :) <3> thanks again :) <4> Or at least, something like it worked <4> np <2> :D <2> u should prolly use my xpath editor to get xpath's :) <2> otherwise you'll end up with garbage <4> Excellent idea! <2> ;) <2> www.ziggyware.com <2> under downloads/ziggyware software <3> thanks I'll check it out <3> I'm parsing this by the way. <3> <div cl***="udu-line2"> <3> <div cl***="udu-flnm">First Name</div> <3> <div cl***="udu-flvl">Name</div> <3> </div> <4> Anyone here used POOM? <2> never heard of POOM <4> Pocket Outlook Object Model <3> need to ***ign name to firstName. should I catch "udu-line2" first, and then it's subnodes? <2> u should use my xpath tool :) <4> And they provide a nice wrapper for use with .netcf <4> shark2: do it, anyything else will drive you to madness <3> ok <2> be sure to read the help <2> ;) <4> Anyone done any outlook addins? <5> yes <4> notboss: With C#? <5> no <4> I was wondering if named properties sync over activesync ? <3> how do I insert image into richtextbox? <2> the world may never know <2> ;D <2> RTB is a PITA <2> prolly easier to launch a satellite <3> I found nasty examples <3> one used clipboard, other winapi functions <3> isn't it possible to convert hex in string to integer with Int.Parse or Convert functions? <3> version = UInt32.Parse("0x10", NumberStyles.AllowHexSpecifier) throws exception <3> are my exceptions suppose to inherit from System.Exception? <6> does anyone here have experience with using collections in a webservice? <7> some, whats up? <3> why am I getting 10:27am instead of 12:27 here? http://rafb.net/paste/results/DMmYic33.html <8> has anyone p***ed 70 Exam? <9> since i have no clue what that is, id say i dont qualify for a "yes" :) <8> :) <8> Exam 70: TS: Microsoft .NET Framework 2.0 - Web-Based Client Development <9> ah <9> nope :D <8> that's a pity :) <8> I could sure use some tips <9> sounds like fun <8> not really :)
<10> Hi, i'm new in CSharp and would like to know how can i access a textBox from another cl***? <8> 0_o <9> MiniJuly: make a public property which returns the text from the textbox? <8> MiniJuly with the help of public property ? <8> :) <8> oe.. I was late :) <8> damn that laptop keyboard :) <9> i got a laptop keyboard, only in full size for my desktop :) <8> :))))) <9> got it to get used to the actual laptop keyboard <10> txtbox is in the Form1 cl*** and i want to set a text to it from my other cl*** called LogCl***. i have already setted the declaration of txtBox to public but i don't know why it isn't working. <8> public string TextBoxText { get { return textbox.Text; } set { textbox.Text = value; } } <9> MiniJuly: you want LogCl*** to GET text from Form1, or you want Form1 to PUT text into LogCl*** <9> ? <8> Form1.TextBoxText = "test"; <10> get text from txtBox <9> MiniJuly: then EugenIT's method is nice <8> MiniJuly , to get text from text box use : public string TextBoxProperty { get { return txtBox.Text.Trim(); } } <8> what can be more simple than that :)))) <8> only Web Service configuration :))) <10> when i type Form1. in my cl***log does it should appear txtBox in the auto-popup? <10> it is not appearing <8> a Property name must appear !!! <8> use property <9> uhm <9> Form1 is the cl*** <9> you'll have to access the object <9> form1 is it? <10> Form1 <8> x_x <9> MiniJuly: no no, Form1 is the cl*** <9> MiniJuly: you need to use the object instace <9> MiniJuly: somewhere you should have "Form1 form1" or something like that <10> sorry i don't find it...its getting bored <10> i just want to do Form1.txtLog = "test"; in another cl***, but it is not working <8> hmm you should see a few tutorials or read some material before programming :) <9> oh right <9> i was mixing it up with delphi.net <9> heh <9> im weird that way <9> :D <8> delphi.net ? :) <8> what is that? <9> MiniJuly: the other cl*** will have to know about your instance of Form1 <9> EugenIT: technically "Delphi for .NET", which is just that, Delphi for .NET :) <1> what's that thing you are talking about ? <9> <10> i just want to do Form1.txtLog = "test"; in another cl***, but it is not working <8> omg :) <8> LordCrc, Delphi is still alive? <9> MiniJuly: if you do not know the difference between a cl*** and an object / object instance, i would strongly recommend you read up on it <9> EugenIT: that's another matter ;) <8> :))) <8> I thought that language is not supported anymore.. <9> oh it is <10> LordCrc i know how to create an instance of an object, but i think its not necessary in this case or is it? <9> Borland has sold the "tool dev group", so Delphi wont have to get dragged down into the mud by all the ALM **** <9> so things look brighter now <8> :) ok then <9> MiniJuly: you dont have to create Form1, just let the LogCl*** object know about it <9> MiniJuly: do you create the LogCl*** inside Form1 ? <10> no <8> but I've never liked that language ( pascal also ) <9> MiniJuly: mkay <8> :( <9> EugenIT: well, i dunno why but my brain likes it <8> :) <8> you should visit a doctor :)))) <8> joking... <9> i think its because it has got a strict syntax, i like well defined "rules" <8> ok <8> do you believe that Delphi has it's future? <1> Delphi sure. Delphi for .NET nah <8> :)))) <8> Java for .NET :)
Return to
#csharp or Go to some related
logs:
kyliessecret video #flash #windows #computers #solaris #beginner #nhl #sql #freebsd #computers
|
|