**UPDATE:
Here's my current solution:
**<[login to view URL]>
**These are the parts that need to be completed: E:\WindowsFormsApplication1BarCode\WindowsFormsApplication1BarCode\[login to view URL]
lines: 209 and 212**
**E:\WindowsFormsApplication1BarCode\WindowsFormsApplication1BarCode\[login to view URL]
all functions**
**Also the validate button needs to be the default button, this way if the user enters the code and hits [enter] the button will be clicked.**
Below are the original requirements >>>>>>>>>>>>>>
## Deliverables
I need 4 methods/functions.
Put them all into on C# class file.
I will include this file as part of my winforms app. I'm using C# .net 3.5
1) Convert CSV to XML
Details: Open the csv file from the absolute path specified and convert it to an xml doc and save that xml doc at the target specified.
Attached is a sample csv - this columns, column order, and data types are the same as the real documents.
The attached file will be sent to a function, your function needs to convert this file to xml
In this case, the xml output? would be like:
<tickets>
<ticket id="
DA35F954441A46D0AB19E2F95365DF43">
<FirstName>Dave</FirstName>
<LastName>Jones</LastName>
<PayersName>Mike Thomas</PayersName>
<TransactionType>Pay at the Door</TransactionType>
<OrderStatus>Received Payment, Processing Order</OrderStatus>
<Barcode>DA35F954441A46D0AB19E2F95365DF43</Barcode>
<Admitted>TRUE</Admitted>
</ticket>
</tickets>
*2) Task 2: IsValid
I need a function that can scan the xml document.*
I will pass it the TicketId
If the ticketId does not exist - return "Does not exist"
If the the Admitted = True, return "already Admitted"
*3) Task 3: Mark Admitted = true
**Another? function that can scan the xml document.*
I will pass it the TicketId
Find the ticket node by the? ticketId
Set Admitted= true
And update the file (actually save the xml doc)
These will go in a winforms app that will be used with a usb bar code scanner.
So the end user may scan 1 code every 2 seconds, your code must be sure efficient and not lock up.
Example no: file is being used by another process errors.
* * *This broadcast message was sent to all bidders on Tuesday Jan 5, 2010 6:03:17 PM:
Hello, Please re-read the listing as I have jsut updated it. I made some updates to the winform. Now the end user has a file selector option. Please checkout the new app. [login to view URL] Please send me your feedback and let me know what you can do. I will pick the coder tonight.