How to format an unbound column in select statement of SQL in an UltraGrid?

Hello,
Take this SQL statement
SELECT qty,cost,sell, (cost * qty) as 'Extended Sell'
using this statement, I am filling a datatable in .NET, then setting an Infragristics Ultragrid Datasource that datatable.

in my database, cost and sell are set as Decimal(x,2). when i see the value in the grid (the real value) it looks nice and neat, xx.xx HOWEVER on these unbound columns it is xx.xxxxxxxxxxxxx
I can set the format of that column in the datagrid so it displays great, however when you click on the cell and see the real value it has all those decimal places. How can I stop this?

Thanks
melegant99Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aneesh RetnakaranDatabase AdministratorCommented:
SELECT qty,cost,sell, cast( (cost * qty) as decimal(15,2) )  as 'Extended Sell'
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
melegant99Author Commented:
See the little things that mean so much....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.