|
-
Jul 9th, 2009, 12:42 PM
#1
Thread Starter
Hyperactive Member
Datatable Help
I have created an xml schema and an xml file from a datatable. I am now trying to read that data in which is working fine. I can access the data but the problem is that I want to know how many Tables there are in the xml file. For example the setup looks like this:
<table>
<row1>rowinfo</row1>
<row2>rowinfo</row2>
</table
<table>
<row1>rowinfoagain</row1>
<row2>rowinfoagain</row2>
</table>
I want to know how many "<table>" objects there are. Can anyone help?
If I helped you please rate me.
-
Jul 9th, 2009, 01:05 PM
#2
Re: Datatable Help
Do you have any existing code that this method needs to fit into / work with or are you just looking for any possible way to count the number of Table elements in your XML file?
-
Jul 9th, 2009, 01:10 PM
#3
Thread Starter
Hyperactive Member
Re: Datatable Help
Yeah I actually got it using a dataset. I can create a datatable when I export it but then when I read it I can read it into a dataset. If you read into a datatable you have to create and xml schema file too but it seems like datasets are easier to work with.
If I helped you please rate me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|