IIS服务器的区别 [英] Difference in IIS server

查看:113
本文介绍了IIS服务器的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好b $ b

我目前在部署到生产服务器的应用程序出现问题。



For某些原因我部署了我的应用程序,但似乎没有在生产服务器上显示cahnges。在开发环境中,我的现金值显示为R 123.45



在生产服务器上显示为R 123,45

客户已经要求它显示为R123.45



i已经看过.net全球化设置但他们是同样的想法我能做些什么来解决这个问题问题?

解决方案

为什么不从字符串中删除多余的空白?即

 me.amount.text = numericMoney.ToString(  R ### 0.00); 



我建议使用可配置的设置。读取设置为变量的值,然后使用:

  string  FORMAT =   R ### 0.00;  //  从配置文件中获取 
me.amount.text = numericMoney.ToString( FORMAT);


Hi
I am currently having a problem with my application i have deployed to a production server.

For some reason i deployed my application but yet the cahnges dont seem to show on the production server. on the Development environment i have my Values of the cash showing as R 123.45

on the production server it shows as R 123,45
Client has requested it to show as R123.45

i have had a look at the .net globalization settings but they are the same any idea what i could do to resolve this issue?

解决方案

Why don't you just remove the extra blank from the string? I.e.

me.amount.text = numericMoney.ToString("R###0.00");


I'd suggest to use a configurable setting for that. Read the value from the Setting into a variable, and then use that:

string FORMAT ="R###0.00"; // get it from a configuration file
me.amount.text = numericMoney.ToString(FORMAT);


这篇关于IIS服务器的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆