欢迎来到天天文库
浏览记录
ID:50995001
大小:45.50 KB
页数:5页
时间:2020-03-08
《三层结构汉字大写数字转换为小写数字.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、三层结构汉字数字转换成小写数字---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------枚举类----------------
2、-----------------------------usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebP
3、arts;usingSystem.Xml.Linq;namespaceljtshipin.Model{//////此类是枚举类///用于判断是否在方法的处理范围之内///publicenumRMBEm{yes,no}}-----------------------------------------------------------------------------------------------------------------------------------
4、-----------------------------------------------------------------------------------------------BLL层---------------------------------------------usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.We
5、bParts;usingSystem.Xml.Linq;usingljtshipin.Model;usingljtshipin.DAL;namespaceljtshipin.BLL{publicclassRMBBLL{publicRMBEmYesOrNoByString(stringrmb){returnnewRMBClass().YesOrNoByString(rmb);}////////////RMB字符串///6、ns>publicintRMB(stringhh){try{inti=Convert.ToInt32(hh);returni;}catch(Exceptionex){if(this.YesOrNoByString(hh)==RMBEm.yes){intRMB=newRMBClass().RMB(hh);if(RMB==0){return0;}else{returnRMB;}}else{return0;}}}}}------------------------------------------7、----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------DAL层---------------------------------------------usingSystem;usingSystem.Da8、ta;usingSystem.Configuration;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI
6、ns>publicintRMB(stringhh){try{inti=Convert.ToInt32(hh);returni;}catch(Exceptionex){if(this.YesOrNoByString(hh)==RMBEm.yes){intRMB=newRMBClass().RMB(hh);if(RMB==0){return0;}else{returnRMB;}}else{return0;}}}}}------------------------------------------
7、----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------DAL层---------------------------------------------usingSystem;usingSystem.Da
8、ta;usingSystem.Configuration;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI
此文档下载收益归作者所有