Search

You searched for the word(s): userid:627752

Matching Posts

  • Re: Complex Xml -> XSD -> Class -> Presentation:: Help!

    This isn't working for some reason. Here is the method I use to return a report from the XML... this is in my data layer: public static MyCompany.BusinessObjects.CompanyNote.Product GetCompanyNote(string path) { System.IO.StreamReader str = new System.IO.StreamReader(path); MyCompany.BusinessObjects.CompanyNote.Product product = new MyCompany.BusinessObjects.CompanyNote.Product(); try { XmlSerializer xSerializer = new XmlSerializer(typeof(MyCompany.BusinessObjects.CompanyNote.Product)); product
    Posted to XML and XmlDataSource Control (Forum) by TheCheeta on 11/2/2009
  • Re: Complex Xml -> XSD -> Class -> Presentation:: Help!

    I thought I got somewhere with this: foreach (MyCompany.BusinessObjects.CompanyNote.ProductContextIssuerDetailsIssuerSecurityDetailsSecuritySecurityFinancials securityDetail in Report.Context.IssuerDetails.Issuer.SecurityDetails.Security.Items.OfType<ItemsChoiceType.SecurityFinancials>()) { // string temp = securityDetail.displayStatus; } But no... VS2008 says that ItemsChoiceType is a field, not a type, despite what I think I am seeing in the construction of the class. If it makes things any
    Posted to XML and XmlDataSource Control (Forum) by TheCheeta on 11/2/2009
    Filed under: xml deserialization
  • Complex Xml -> XSD -> Class -> Presentation:: Help!

    I have a complex 3rd party XML that I have run through XSD.exe to create a business class. It's been a great help so far. However, now I need to access some information out of this XML that is nested deeply inside elements and attributes, and I am getting nowhere fast. Here are the naughty bits for your inspection (I've tried to trim a LOT of the information in the interest of both brevity and confidentiality without affecting a real solution - there is a little superfluous stuff in case
    Posted to XML and XmlDataSource Control (Forum) by TheCheeta on 10/28/2009
    Filed under: xml deserialization xsd
  • Re: Complex Xml -> XSD -> Class -> Presentation:: Help!

    Sorry... I copied and pasted the XML straight out of VS2008, not sure why it jacked the formatting like that.
    Posted to XML and XmlDataSource Control (Forum) by TheCheeta on 10/28/2009
  • Re: XML to Object via Linq

    Fixed it... needed to change the loading of Galleries to: Galleries = (from g in galleryXml.Element( "galleries" ).Elements( "gallery" ) select new Gallery { GalleryID = ( int )g.Attribute( "id" ), Title = ( string )g.Element( "title" ), Description = ( string )g.Element( "description" ), Icons = new List<Icon>( from icon in g.Elements( "icons" ).Descendants() select new Icon { Url = ( string )icon }), Images = new List ( from image
    Posted to XML and XmlDataSource Control (Forum) by TheCheeta on 2/16/2009
  • XML to Object via Linq

    I am attempting to take data from an XML file and place it into an object. Here is a sample of one bit of the XML file: <galleries> < gallery id= "1" > < title id= "museum" >Museum Labels</ title > < description > <p>This project was a direct result of my fascination with visiting art museums to watch how people react to what they see. Oftentimes I noticed that they paid more attention to the wall labels rather than the pieces they described
    Posted to XML and XmlDataSource Control (Forum) by TheCheeta on 2/16/2009
    Filed under: xml linq object
  • Re: TreeView

    Is there absolutely no way to have a treeview contain radio buttons? For instance, I am trying to do something like this: Option 1 Option 2 Option 3 [ ] Sub Option 1 [ ] Sub Option 2 [ ] Sub Option 3 I would like to make it such that the Sub Options behave like Children in a treeview, where they only show up once the Option 3 is selected. Otherwise, Options 1, 2 and 3 act like radio buttons, being mutually exclusive.
    Posted to Master Pages, Themes and Navigation Controls (Forum) by TheCheeta on 3/14/2007
    Filed under: treeview radio button checkbox
  • Re: Image Upload to folder as part of form entry...

    Thank you VERY much! It was quite perturbing... I was seriously questioning my sanity yesterday!
    Posted to Web Forms (Forum) by TheCheeta on 3/14/2007
  • Re: Image Upload to folder as part of form entry...

    Karsten, that is nice. I am working on seeing how I can make this happen in my code. Two issues I am having... First, I am doing this in VB.NET, so I converted it to C#, which went well, save for one thing... Dim picture as Picture = New Picture() It is coming back saying that type Picture is not defined. I've imported all the namespaces you've listed in your code, but nothing. Any help on that? Second, I've not done callback-type stuff yet. I'm having a problem with GetCallbackResult and RaiseCallbackEvent
    Posted to Web Forms (Forum) by TheCheeta on 3/13/2007
  • Re: Image Upload to folder as part of form entry...

    How would I place that image into the <asp:img... tag I have directly below the <asp:FileUpload... control after the postback?
    Posted to Web Forms (Forum) by TheCheeta on 3/13/2007
Page 1 of 4 (40 items) 1 2 3 4 Next >