DataBind with XML

Discussion in 'Database' started by markyjj, May 18, 2006.

  1. markyjj

    markyjj New Member

    Joined:
    Dec 7, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Can someone help me with the following please.

    I am currently doing a project and I have to creat a XML file for the layout of the database. I have created a Windows form with controls. Am trying to bind the controls such as the text box and list box to the data source.

    I have tried reading the XML file into a dataset and then bind this dataset to a data grid but I Just cant seem to get my head round how to do the actual binding, as it just wont work.

    I need some advice on what code to actually use for the binding to the source. My project has 2 forms, the 1st is a registration form and the 2nd form has the data grid and displays the students records.

    As mentioned before ,the database layout is created by the XML file and I dont know if am meant to use a transformation process or use a XML DataDocument.

    Thankyou to anyone who can give me any help on this.
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice