[Mono-list] ASP.NET, DataGrid and Data formatting expression

Hamish Murphy hamishm at parallelsolutions.com.au
Mon May 30 21:23:44 EDT 2005


Hi,
 
I have a problem in ASP.NET. In Visual Studio I set the data formatting
expression for one of my DataGrid columns to {0:#.##}. When I run this on my
test IIS server all is sweet. When I post his to my Apache server, I get a
FormatException. If I change the format expression to one of the pre-defined
ones (like {0:g}), then I don't get a FormatException. 

I created a little test C# program (for my Linux box) with the following
line : 

SomeDouble.ToString("{0:#.##}") 

and it works. 

Has anybody had any experience with this? I'm using Mono 1.1 (with mod_mono)
on Fedora Core 3 with Apache 2.0.52.

Regards,

Camel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://galactus.ximian.com/pipermail/mono-list/attachments/20050531/e0ab698f/attachment-0001.html


More information about the Mono-list mailing list