Ask a Question related to ASP.NET General, Design and Development.
-
Sean #1
how do i pick up the values ?
Hi
I have this XML file, and i am not sure how do i read this xml file and read it to an arraylist, for which i use to fire some SQL statements.
I want to be able to pick only xml attributes, say, which belong to Section="two-4" and put them into an arraylist and similar for the rest of the Section attributes.
i had got the code below working, till the time, i had to change the xml file.
<cashier>
<tag Section="one-4" param1="1" param2="10100000" param3="1" />
<tag Section="two-4" param1="3 param2="asfd" param3="6/23/2003 08:00 AM" />
<tag Section="three-4" param1="2" param2="1" param3="CHECK/MO" param4="24" />
<tag Section="two-4" param1="3 param2="asfd" param3="6/23/2003 08:00 AM" />
</cashier>
Do While (reader.Read())
' I am not sure, how to pick up only two-4
If reader.Name.ToString = "two-4" Then
Response.Write("inside")
While (reader.MoveToNextAttribute())
workArray.Add(reader.Value)
End While
worknodes = worknodes + 1
Please Help.
Any help/suggestions/hints will be greatly appreciated.
Thank You
-- Sean
Sean Guest
-
a bone to pick
as a strong CF advocate, take this as a friendly gripe. and if someone more experienced can explain why this 'problem' is actually not a problem,... -
Pick text option.
Hello all, I am trying to create an option where a user is able select from a list of options. The user will be presented with a text box which... -
textarea does not pick up enter key
Hello all, I have a for w/ a <textarea name="test"> where I can type in some information. Then I hit my submit and it goes to my php page where... -
Aix 4.3 and Pick, get end of job page on every print out
I am printing from pick and on one printer, at the end of every job get a end of job page that prints. How can I turn this off. It is on optra T... -
random pick from list
If I have a list, how can I randomly pick one item from it when I click on a button? Thanks Shane



Reply With Quote

