Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to bind data for Dropdownlist in Grid View?
Message
De
03/10/2006 01:10:00
 
 
À
02/10/2006 14:00:49
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01152715
Message ID:
01158764
Vues:
28
No reply yet. I used some tricks to solve the problem. In order to do so, 2 template fields are needed for a single field. The first is bind to the BO (Label), and the second is for the dropdownlist(no binding).Use DataSource,DataTextField and DataValueField to get the items for Dropdownlist, and set the selected item based on the value in Label. Hope that helps you. :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform