×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Load simple XML from TextInput to Datagrid

Load simple XML from TextInput to Datagrid

Load simple XML from TextInput to Datagrid

(OP)
Noob Question.

I have been trying to find a simple example to load a XML file from the users computer and then have it displayed in a Datagrid.

The XML file has only two nodes, for eg.

<users>
<firstname>Jane</firstname>
<lastname>Doe</lastname>
</users>

I just want the data grid to display all data in two columns. The catch is that the user types the PATH OF the XML file. So it can be diff for diff users.

Text Box ------- Load File Button
Datagrid

I don't care if the windows explorer opens or not , if the file is found and the format is correct then juat load the data. The user has to type the path.

I couldnt find much information on loading a file , can anyone help. I am a flex noob so please HELP!!

RE: Load simple XML from TextInput to Datagrid

(OP)
Thanks this helps a lot!

 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close