Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to determine if the dt has rows?
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01399235
Message ID:
01399265
Vues:
42
Yes, thanks, I figured this myself (hooray!) and I'm up to the next error at this moment.

>Look at this in your code,
>
>You repeated colPrice in [//Order Item Total Price] part instead of colTotalPrice data grid view column.
>It seems you did a COPY - PATE
>
> //Order Item Price
> DataGridCustomTextBoxColumn colPrice = new DataGridCustomTextBoxColumn();
> colPrice.Owner = this.grdOrderItems;
> colPrice.HeaderText = "Price";
> colPrice.MappingName = "Price";
> colPrice.Width = ((this.grdOrderItems.Width * 24) / 100);
> colPrice.Alignment = HorizontalAlignment.Right;
> // Setup table mapping name
>
> //Order Item Total Price
> DataGridCustomTextBoxColumn colTotalPrice = new DataGridCustomTextBoxColumn();
> colPrice.Owner = this.grdOrderItems;
> colPrice.HeaderText = "Total";
> colPrice.MappingName = "TotalPrice";
> colPrice.Width = ((this.grdOrderItems.Width * 24) / 100);
> colPrice.Alignment = HorizontalAlignment.Right;
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform