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

Please report any errors or content that you would like changed in this page

Resource Name:

ASP.NET DropDownList XML Binder Class

 

Resource 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.

 

Resource URL:

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

 

Details of error:
Your Email Address: (Optional)  
Your Name:   (Optional)

Confirmation Code:

 

   Please enter the code shown below

 

 

 

 

 
Advertise on XMLPitstop


4,382 Total Members
3 members(last 30 days)
0 members(last 7 days)
0 members(today)

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

47,487 Total Blog Posts
0 Blogs(last 30 days)
0 Blogs(last 7 days)
0 Blogs(today)

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

14,339 Total Resources
2 Resources(last 30 days)
1 Resources(last 7 days)
0 Resources(today)