Community-Credit.com | NonProfitWays.com | SOAPitstop.com   Skin:   
      User: Not logged in 
Home
Newsletter Signup
XSLT Library
Latest XML Blogs
Featured Examples
Presentations
Featured Articles
Book Chapters
Training Courses
Events
NewsGroups
 
Discussions
Examples
Tutorials
Tools
Articles
Resources
Websites
 
Sign In
My Profile
My Articles
My Examples
My Favorites
My Resources
Add a Resource
Logout
 
About Me
My Blog
HeadGeek Articles
Talking Portfolio
Resume
Pictures
World Trip Pics

ASP.NET DropDownList XML Binder Class

Description:There may be many occasions when a complex hierarchical XML document needs to be bound to an DropDownList control in an ASP.NET page. Although there are different ways to approach this, this sample introduces a class named XmlReaderBinder that has a single static method named BindDropDown(). This method accepts the name of the element containing the data that should be bound, the attribute name(s) for the value and text data to be used in creating a ListItem control, and the path to the source XML Document. If the XML data is not contained in the target element"s attributes but is instead in child nodes, the control will automatically find these child nodes and extract their text node values instead.


Details about this resource
Resource URL:

http://xmlforasp.net/codeSection.aspx?csID=26

Rating:

5.00

# Times Viewed:

1934

Date Added: 11/29/2004 8:41:35 AM
Link Type: XML
Link Category: Example
Reviews Be the first to Review this resource
Review
Rate
Refer
Favorites
Print
Report
Fans of "The Office"
Dwight Bobbleheads are here!
  “It's me! I'm the bobblehead! Yes!”



Advertise on XMLPitstop

Advertise on XMLPitstop


EggHead Cafe
Web Servicee development
DotNetSlackers
Buy text ads here!
laptop online backup
Color Laser Printer
Diesel sunglasses
Skype vs. sipcall
VoIP Internettelefonie
Buy text ads here!

Interested in Text ads?
2,219 Total Members
34 members(last 30 days)
5 members(last 7 days)
0 members(today)

1,609 Total Discussions
14 Posts(last 30 days)
0 Posts(last 7 days)
0 Posts(today)

17,106 Total Blog Posts
1,771 Blogs(last 30 days)
235 Blogs(last 7 days)
0 Blogs(today)

8,699 Newsgroup Posts
0 Posts(last 30 days)
0 Posts(last 7 days)
0 Posts(today)

13,785 Total Resources
4 Resources(last 30 days)
0 Resources(last 7 days)
0 Resources(today)