Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to determine if the dt has rows?
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01399235
Message ID:
01399265
Views:
40
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
Previous
Reply
Map
View

Click here to load this message in the networking platform