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
S

swjam

@swjam
About
Posts
759
Topics
280
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Why Remote Workers Are More (Yes, More) Engaged
    S swjam

    but how would an employer determine if the remote worker is not just surfing pron?

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Insider News com tools

  • two nuns at noon leaving soon... baboon!
    S swjam

    don't get me wrong your other jokes are funny, you're up there with mark merrens =)

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Soapbox com

  • two nuns at noon leaving soon... baboon!
    S swjam

    i just can't seem to make myself laugh at rape jokes.

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Soapbox com

  • The jokes in the soapbox are...
    S swjam

    pretty good. Quite a few I haven't heard too.

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Soapbox

  • Batman massacre guns were purchased legally.
    S swjam

    [Law enforcement sources said the weapons were purchased legally by Holmes at sporting goods stores in the Denver area over the past six months.]

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge html database com question

  • Batman Movie Massacre in Colorado
    S swjam

    what happens when you can just go buy ammo from kmart/walmart. i hope this never had to happen to anyone, including those who say guns don't kill people, people do.

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge html database com question

  • rpceptmapper RPC Endpoint Mapper Service missing
    S swjam

    Hi Everyone, Has anyone ever had a problem of the above service missing (not stopped, but instead not at all present from the list of services (services.msc) in a Windows Server 2008 install)? All manner of network related features stopped working as this seems to be a base dependency of most other services. Anyone had a similar experience, care to share how you fixed this? I'm postponing celebrating all my life's milestones until I get this problem fixed. Thank you, swjam

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    Hosting and Servers sysadmin windows-admin help question

  • collapsing xml elements into attributes in c#
    S swjam

    i hate you. your reply is funny but limited in usefulness. :cool:

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    C# xml csharp

  • collapsing xml elements into attributes in c#
    S swjam

    Thanks. Do you agree the following summarizes what I am trying to achieve? Unless the child element has a child element of its own, make it an attribute of the parent.

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    C# xml csharp

  • collapsing xml elements into attributes in c#
    S swjam

    Hi, I have an 'in.xml' file which I would like to 'collapse' into an 'out.xml' file in c#. (Not necessarily asking for the code but the approach to do this ie. xslt or xmldocument add attributes) Many thanks in advance. The files are as follows: in.xml

    2013-01-01
    2014-12-31
    100000.00
    Genentech Pty Ltd
        100000.00
        150000.00
      
      Acme Pty Ltd
        25000.00
        25000.00
    

    150000.00
    Mont Blanc Associates
    50000.00
    25000.00

      Acme Pty Ltd
        10000.00
        10000.00
      
      Triple A Commercial
        10000.00
        10000.00
    

    6

    1
    2
    6
    3
    7
    4
    8
    5

    1
    2

    Trevae, Srt, 3241
    3
    3241

    Silua, Rev, 2940
      2
      2940
    

    Genentech Pty Ltd
    7

    Acme Pty Ltd.
      15
    
    Triple A Commercial
      9
    
    Mont Blanc Associates
      1
    

    out.xml

    C# xml csharp

  • AAirpass
    S swjam

    Up In The Air i find this bit disturbing :laugh:

    Rothstein had loved flying since his years at Brown University in Rhode Island, where he would buy a $US99 weekend pass on Mohawk Air and fly to Buffalo, New York, just for a sandwich.

    Read more: http://www.smh.com.au/travel/travel-news/airlines-ticket-to-trouble-how-a-man-called-vroom-got--unlimited-first-class-flights-for-life-20120510-1yese.html#ixzz1uTExZypv

    hopefully not a repost.

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge html com adobe announcement

  • using xquery to populate a table variable in sql
    S swjam

    Hi, Just would like to ask for help for the xquery that I need to use for the xml string below to populate my table with the following dimension. This means that for each manager, I can have more than 1 row (depending on the number of staff) as I have flattened the table to eliminate joins on multiple table vars. Sorry, I just couldn't get my xquery right.
    Finally, if I have my xsd, how do I validate an xml input such as above with sql?
    Many thanks.

    Manager Name Type Staff

    declare @myOrg xml
    set @myOrg = '<?xml version="1.0" encoding="utf-8"?>
    <Department>
    <Subdivision>
    <Managers>
    <Manager>
    <Name>Martin</Name>
    <Type>Full Time</Type>
    <Purpose>Subdivision 1 Shadow</Purpose>
    <Description>Project Management, Operations</Description>
    <FullName>Martin Fuller</FullName>
    <StaffList>
    <Staff>H1 Level 4, 345Y</Staff>
    <Staff>H1 Level 4, DS23</Staff>
    </StaffList>
    </Manager>
    <Manager>
    <Name></Name>
    <Type></Type>
    <Purpose></Purpose>
    <Description></Description>
    <FullName></FullName>
    <StaffList>
    <Staff></Staff>
    </StaffList>
    </Manager>
    </Managers>
    </Subdivision>
    </Department>'

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    Database question database business xml help

  • pejotd
    S swjam

    mistakes that need to be rectified

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge question

  • pejotd
    S swjam

    After a prostate exam, an elderly gent came back complaining about his medical bill. 'Doc, I think your secretary made a mistake billing me for about twice as much as I was told it would cost?' The doctor said, 'Well you must have felt I used two fingers back there. The middle finger is the second opinion you asked for'

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge question

  • (function () {var me = "Self-Referential Programs"; return "(" + arguments.callee + ")();";})();
    S swjam

    this[^]

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge com question

  • Google Knows Best
    S swjam

    this somehow reminds me of Casino Jack.

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge discussion

  • iSad
    S swjam

    nuffsaid.

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge

  • How do you write fewer lines of code?
    S swjam

    ...or a Project Manager.

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge question csharp php css linq

  • Could not load file or assembly 'Microsoft.Practices.CompositeUI, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    S swjam

    Hi, I have a view that inherits from a user control. The problem is when trying to load in the designer, I get the call stack below. I've just about given up on how to fix it and would appreciate any pointers. (note: I can see the composite UI assembly is in the references, and the version matches (the runtime version is different though) Thank you! at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit) at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes(Type type) at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetAttributes() at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes() at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes() at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes() at System.ComponentModel.TypeDescriptor.GetAttributes(Type componentType) at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager) at Syste

    .NET (Core and Framework) design help data-structures json tutorial

  • Where's My Hurricane?
    S swjam

    careful what you wish for. =)

    ---------------------------------------------------------- Lorem ipsum dolor sit amet.

    The Lounge question
  • Login

  • Don't have an account? Register

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