Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Template Columns in Grids
Message
 
À
25/03/2005 20:55:46
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00999257
Message ID:
00999424
Vues:
68
I don't see a problem with it either. And U2 is the greatest band ever!

>All,
>
> Ok, I am trying to create a shopping cart application and am stumped. I have a datagrid which is bound to a dataset. In the grid are two template columns, one has a checkbox and the other an image control. In the load of my webform I retrieve the dataset which contains 2 records. The records are not the same in the database table or in the dataset. When I call the databind command on the datagrid the same image is shown for the two records. The checkbox value does not appear correctly either. The checked property of the checkbox is bound to a bit field in SQL Server and the imageURL property is bound to a char(100) field in the database which has the name of the image in it. The images are located in the same directory as the page.
>If you want please look at http://www.jimrieck.net/ShoppingCartDemo/Items.aspx to see what the page is doing.
>
>What am I doing wrong? Is there a better way of doing this?
Chris McCandless
Red Sky Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform