TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Chen
NA
50
45.8k
Simple List Problem
Oct 2 2010 1:16 AM
I provided the source code, it basicly retrieves data from a file and read that file store it into a List then outputting it.
Below is where I am currently at, and final output, the difference is "Author Name: " and final output is "Author Name: Bruna Martinuzzi" (with respective order)
It will output like this
Department Name: Clothing
Floor: 2
Price: 23.44
Price with taxes: 26.72
Product: tennisT by Nike
Department Name: Clothing
Floor: 2
Price: 42.35
Price with taxes: 48.28
Product: Sweat Top by Reebok
Department Name: Clothing
Floor: 2
Price: 38.99
Price with taxes: 44.45
Product: Khaki Casuals by LaCoste
Department Name: Reading
Floor: 1
Price: 12.78
Price with taxes: 13.67
Title: The Leader as a Mensch
Publisher: Six Seconds
Author Name:
Department Name: Reading
Floor: 1
Price: 23.44
Price with taxes: 25.08
Title: Software Teamwork: Taking Ownership for Success
Publisher: Addison-Wesley Professional
Author Name:
Department Name: Reading
Floor: 1
Price: 45.99
Price with taxes: 49.21
Title: ASP.NET MVC 1.0
Publisher: Wrox Press
Author Name:
Department Name: Reading
Floor: 1
Price: 7.54
Price with taxes: 8.07
Magazine Name: Wired
Issue Month: September Issue Year: 2010
Department Name: Reading
Floor: 1
Price: 5.88
Price with taxes: 6.29
Magazine Name: PC World
Issue Month: September Issue Year: 2010
But I want to get it like this
Department Name: Clothing
Floor: 2
Price: 23.44
Price with taxes: 26.72
Product: tennisT by Nike
Department Name: Clothing
Floor: 2
Price: 42.35
Price with taxes: 48.28
Product: Sweat Top by Reebok
Department Name: Clothing
Floor: 2
Price: 38.99
Price with taxes: 44.45
Product: Khaki Casuals by LaCoste
Department Name: Reading
Floor: 1
Price: 12.78
Price with taxes: 13.67
Title: The Leader as a Mensch
Publisher: Six Seconds
Author Name: Bruna Martinuzzi
Department Name: Reading
Floor: 1
Price: 23.44
Price with taxes: 25.08
Title: Software Teamwork: Taking Ownership for Success
Publisher: Addison-Wesley Professional
Author Name: Jim Brosseau
Department Name: Reading
Floor: 1
Price: 45.99
Price with taxes: 49.21
Title: ASP.NET MVC 1.0
Publisher: Wrox Press
Author Name: Scott Guthrie
Department Name: Reading
Floor: 1
Price: 7.54
Price with taxes: 8.07
Magazine Name: Wired
Issue Month: September Issue Year: 2010
Department Name: Reading
Floor: 1
Price: 5.88
Price with taxes: 6.29
Magazine Name: PC World
Issue Month: September Issue Year: 2010
Attachment:
help.zip
Reply
Answers (
4
)
Drop down list in forview with using C# codes
Alternative of DataWindow in C#