User Profile

Collapse

Profile Sidebar

Collapse
hodgesp
hodgesp
Last Activity: Oct 10 '07, 01:46 PM
Joined: Mar 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hodgesp
    started a topic XMl And The DataGrid
    in XML

    XMl And The DataGrid

    I had posted a question a while back about a project I was working on. I got a good response from Dorin. The project got put on hold for a while and now its back on and I need some help.


    I create an XML File and I get to a section where I create some child nodes within the section. I need to immediatly tie those child nodes to a DataGrid, and be able to edit them.

    This is the Structure:

    -
    Code:
    <Section2>
    ...
    See more | Go to post

  • hodgesp
    started a topic XML with C# or ASP: XML Confused!!!!
    in .NET

    XML with C# or ASP: XML Confused!!!!

    I am VERY New To XML and I am having a heap of trouble writing an application that will allow for the creation, modification and final output in a specific format via C# and asp .net.

    I am sure I will ask several questions before I'm done but here is my first:

    Basically I have a WEB application that I would like to be used to create an XML file (because of the structure of an XML file) to organize a cost estimator segregated...
    See more | Go to post
    Last edited by Dököll; Dec 28 '07, 02:24 AM. Reason: Code tags

  • hodgesp
    replied to XML and a DataGrid
    in XML
    Sorry I haven't gotten back to this in so long.

    The Code Worked as far as creating the correct structure. Thank You Very Much for that. I need to be able to bind the Data to a Data Grid for editing though.
    See more | Go to post

    Leave a comment:


  • hodgesp
    replied to XML and a DataGrid
    in XML
    I read those articles, but they didn't answer all my questions. for one: How do I add Child Nodes From a DataGrid into and XML document under a specific node. I tried

    Code:
    XmlNodeList s1 = doc.GetElementsByTagName("Sections2");
    But I can't seem to use it so I canj insert the child nodes within that node as a parent.

    What I get is this.
    Code:
    <Root>
     <section1>
    ...
    See more | Go to post

    Leave a comment:


  • hodgesp
    started a topic XML and a DataGrid
    in XML

    XML and a DataGrid

    Hidy Ho Neighbors!

    I just started a new c# web project. I am going to create an XML file via user input. I have been working with .net and c# for about a year but this is my first forray into xml. I need some help.

    I am able to create the XML file insert tags with text values and even attributes via text boxes.

    My issue is that I get to one of the sections I'm creating and I need to insert new data in...
    See more | Go to post

  • hodgesp
    replied to how to make a subreport in .net
    in .NET
    I use Crystal in my applications too. In fact I had a hard time finding code that worked for me as well but I finally did.

    Add the tables, views, or stored procedure to the dataset in the design mode. Create your reports; main and subreport, then try the code I previously submitted. Substituting the name of your reports where noted. I also included some script to automatically export the report to pdf. You can take that out or attach...
    See more | Go to post

    Leave a comment:


  • hodgesp
    replied to how to make a subreport in .net
    in .NET
    Depending on how you conect to the database you use the connection for the main report and pass it to the sub report. I found the easiest way is to use a SQLDataAdapter and DataSet in design mode. The Adapter handles the connection and all you have to do is cycle through the sections of the report.

    Here is some sample C# code: Note crReport1 is the Main Report, crSubRptName is the SubReport. Make sure the tables for the main report...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...