I want to display a double field in the format of currency. For example
100.345 as 100.36

But since the data grid is bound to a dataset, I find no way to control it
I am using an untyped dataset. Can this problem be solved if I using a typed
dataset

Thanks a lot.

Re: How to display money number in a DataGrid? by Miha

Miha
Mon Mar 01 08:53:29 CST 2004

Hi Toto,

Binding.Format event is one way (see .net help - there is an example).

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Toto" <anonymous@discussions.microsoft.com> wrote in message
news:67409484-EF87-4E55-BB5A-1A1451036BD3@microsoft.com...
> I want to display a double field in the format of currency. For example,
> 100.345 as 100.36.
>
> But since the data grid is bound to a dataset, I find no way to control
it.
> I am using an untyped dataset. Can this problem be solved if I using a
typed
> dataset?
>
> Thanks a lot.