When you run this page you'll get your dropdown listbox with all the values in it, and if you view source you'll see that both the DataTextField and the DataValueField properties have been translated into their proper places in each < option > element. Author: Peter A. Bromberg, Ph.D. Code: ASP.NET Beta 2 & VB
|Nice and easy |
Written by Mark Fraser from UK (Tuesday, November 05, 2002)
Writer is with: http://www.therota.com
||Strengths: Simplicity of example code and xml file
Weaknesses: no comment
Details: I'm a relative novice and was looking to bind a dropdown list to an xml file, a country list in my case. Replicated this article with no problem, even converting c# example into VB along the way.
Review Based On: 1 Hour(s) of usage