Patrice
Thu Jul 10 06:54:05 CDT 2008
Have you tried to see what DataGridView.Columns ? You should find a
FormatString that allows to tell whihc format you wan to apply to the
column...
--
Patrice
"wrytat" <wrytat@discussions.microsoft.com> a écrit dans le message de
groupe de discussion : DEE56F25-49C5-40DF-95B8-2BC2935FD8CB@microsoft.com...
> Thank you very much. I've tried that with Textboxes, and it works! But can
> I
> do it with DataGridView as well?
>
> Thank you once again.
>
> "Herfried K. Wagner [MVP]" wrote:
>
>> "wrytat" <wrytat@discussions.microsoft.com> schrieb:
>> > Thank you for the reply. But I don't really understand what you mean.
>> > Do
>> > you
>> > mean that I have to define a format of the value? How do you do that?
>>
>> \\\
>> Dim d As Double = 1234.5678
>> MsgBox(d.ToString("N2"))
>> ///
>>
>> --
>> M S Herfried K. Wagner
>> M V P <URL:
http://dotnet.mvps.org/>
>> V B <URL:
http://dotnet.mvps.org/dotnet/faqs/>
>>
>>