Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

NavnathKale

@NavnathKale
About
Posts
45
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • YouTube slower on browsers other than Chrome?
    N NavnathKale

    :) no... actually my IE got slower after installing crome. I did virus scans n some perf tuning but later i found that stopping Google Update serivce cured all the problems with IE. This service must be doing something more that whats its name seems to be. By that time i had lost my interest in it. So i removed it. :omg:

    The Lounge html com question

  • Is it the time for CP to have better moderation system inplace ?
    N NavnathKale

    OriginalGriff wrote:

    ...unless your name is Dalek Dave...

    Whats about him ?

    The Lounge com tools question

  • Is it the time for CP to have better moderation system inplace ?
    N NavnathKale

    PIEBALDconsult wrote:

    I get lots of ones because people don't like my code formatting, big fat hairy deal.

    haha I afraid thats not the case with me. I take extra care for formatting and logic that I put.

    The Lounge com tools question

  • Is it the time for CP to have better moderation system inplace ?
    N NavnathKale

    lol My point was actually like "Shooting twice is just silly". I mean let ppl comment and then running campaign to remove that comment.

    The Lounge com tools question

  • YouTube slower on browsers other than Chrome?
    N NavnathKale

    anyways jokes apart.. even I had some weird experience with crome. I literately don't trust Ad company's products so I removed it and m back to Opera n happy :)

    The Lounge html com question

  • Is it the time for CP to have better moderation system inplace ?
    N NavnathKale

    Yes you r right my frnd, I just made point as I have seen many comments like this still appearing on others articles. Its just feel bad to see such comments on professional forums like CP. Its not about inability, sometime to bring change someone need to raise it. Anyway I really appreciate for your response. Cheers.:rose:

    The Lounge com tools question

  • YouTube slower on browsers other than Chrome?
    N NavnathKale

    hahaha best of luck with investigation... btw what Police says ?

    The Lounge html com question

  • Is it the time for CP to have better moderation system inplace ?
    N NavnathKale

    Yusuf wrote:

    albeit it may not be perfect.

    Yes, It is "Not Perfect" !!!. Now its another thing how everyone see it as a "Power" or "Lack of Features".

    The Lounge com tools question

  • Is it the time for CP to have better moderation system inplace ?
    N NavnathKale

    Thats true, my objection is not over voting but to let moderate author on comments being published. Whats the point in letting people comment anything nonsense and then voting back to remove it.

    The Lounge com tools question

  • Is it the time for CP to have better moderation system inplace ?
    N NavnathKale

    I mean seriously to avoid people like Seishin# posting non sense comment like this which obviously not helping anyone to get his idea. I always see people complaining on CP about such comments. One thing that makes me laugh is why people drags it on authors friends for getting voted by users ? I think they must be sick or its just their bad going life :wtf:

    The Lounge com tools question

  • What did he want to lock?
    N NavnathKale

    :doh:

    The Weird and The Wonderful csharp question

  • Self Join Table (Recursive Hierarchy)
    N NavnathKale

    with Account(AccountID)
    As
    (
    select AccountID from Accounts A where AccountID = #AcountNumber#
    union all
    select A.AccountID from Accounts A, Account B
    where A.ParentAccountID = B.AccountID
    )

    SELECT sum(totaldebit) TotalDebit FROM Account, AccountsBalance where
    Account.AccountID = AccountsBalance.AccountID

    replace #AcountNumber# with your account number (probably use variable/parameter). Hope this will help you :cool:

    Database database tutorial sql-server sysadmin help

  • Now, nobody forget where we parked the car...
    N NavnathKale

    lol catchy subject After reading it i though it must be some funny photo but it was hilarious :-D

    The Lounge

  • Opera releases a new version - v10.52 [shortcut key found]
    N NavnathKale

    Click on Red dropbutton on upper left -> Show Menu bar.... enjoy alt+F ;P

    The Lounge announcement

  • The real IPL Stars...
    N NavnathKale

    + Indians can enjoy their beauty :P

    The Lounge question

  • Manipulate XML
    N NavnathKale

    my pleasure :-D

    C# xml tutorial question announcement

  • Manipulate XML
    N NavnathKale

    check line fieldNodes = node.SelectNodes("/StudentClass"); see other ways to get all StudentClass if it fails. else try this

            foreach (XmlNode node in fieldNodes)            
            {
                if (node.Attributes\["ID"\].Value == "101")    
                {
                    studentNode = node\["StudentClass"\];
    
                    if(studentNode != null)
                    {
                        //loop thrugh all childNodes to get node with ref=F\_STRENGTH
                        foreach (XmlNode nodeClass in studentNode.ChildNodes)
                        {
                            if (nodeClass.Attributes\["ref"\].Value == "F\_STRENGTH")
                            {
                                refNode = nodeClass;
                                break;
                            }
                        }
                    }
                    break;
                }                       
            }
    
    C# xml tutorial question announcement

  • Manipulate XML
    N NavnathKale
            foreach (XmlNode node in fieldNodes)            
            {
                if (node.Attributes\["ID"\].Value == "101")    
                {
                    fieldNodes = node.SelectNodes("/StudentClass");
    
                    if (fieldNodes != null && fieldNodes.Count > 0)
                    {
                        studentNode = fieldNodes.Item(0);
    
                        //loop thrugh all childNodes to get node with ref=F\_STRENGTH
                        foreach (XmlNode nodeClass in studentNode.ChildNodes)
                        {
                            if (nodeClass.Attributes\["ref"\].Value == "F\_STRENGTH")
                            {
                                refNode = nodeClass;
                                break;
                            }
                        }
                    }
                    break;
                }                       
            }
    
    C# xml tutorial question announcement

  • Manipulate XML
    N NavnathKale

    XmlDocument xmlDoc = new XmlDocument();
    xmlDoc.Load(Application.StartupPath + "\\doc.xml");

            string xpath = string.Format("/StudentRecords/Student");
            XmlNodeList fieldNodes = xmlDoc.SelectNodes(xpath);
    
            XmlNode studentNode = null;
            XmlNode refNode = null;
            
            foreach (XmlNode node in fieldNodes)
            {
                if (node.Attributes\["ID"\].Value == "101")
                {
                    studentNode = node;
                    refNode = node.SelectSingleNode("StudentSubject");
                }
            }
    
            if (studentNode != null && refNode != null)
            {
                XmlElement newcatalogentry = xmlDoc.CreateElement("StudentMarks");
                XmlAttribute newcatalogattr = xmlDoc.CreateAttribute("Total");
    
                newcatalogattr.Value = "100";
    
                // Attach the attribute to the XML element
                newcatalogentry.SetAttributeNode(newcatalogattr);
    
                // New XML element inserted into the document
                studentNode.InsertAfter(newcatalogentry, refNode);
    
                string path = "C:\\\\test.xml";
                
                xmlDoc.Save(path);
            }
    

    updated within post area, test it at your end :cool:

    C# xml tutorial question announcement

  • Compare picturebox.image with image from a resource file
    N NavnathKale

    Actually i guess Image don't have any implementation for Equals method, so it fails. Byte check should work then.

    C# question tutorial learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups