Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the value of a cell in a datagrid
Message
De
12/05/2007 19:52:13
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01224982
Message ID:
01225015
Vues:
15
John,

Is the DataSource for your grid a DataTable? Try binding your ListBox to a DataView of that DataTable, filtering on something unique (like a PK or ID or something similar).

~~Bonnie


>>>I have a datagrid that is populated with sql data and contains a memo field.
>>>I want to put a listbox below that displays only the value of one record. The databinding methods that are built in to the listbox shows all the records.
>>>
>>>I didn't see any properties in the listbox that might help.
>>Web or winforms ?
>
>The Rodster! Hey bud. I'm open to anything, but I was using winforms.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform