Fill asp.net DropdownList and ListBox controls with DataSource program(dotnetspidor.blogspot.com)
submitted by
sangam100(357) 3 years, 1 month ago
DropdownList and Listbox both are asp.net data controls. They can be directly bound to a data source. But often programmers choose to fill them dynamically using code (in C# or VB.NET !).
I am listing the simple trick to programmatically bind asp.net DropdownList and ListBox controls.
Lets say myTable is the DataTable filled from the method FillMyDataTable. Now we can
start out the journey.
|category: ASP.NET
|Views: 39
tags:
ASP.NET another
Everyones tags:
Your Tags: