asp.net页面调用cs中的方法

其中GetArea 在cs文件中的方法,

 

GetArea(string provincecode, string citycode, string areacode)

在页面中可以这样调用cs中的方法

<%#GetArea(Eval("ProvinceCode").ToString(), Eval("CityCode").ToString(), Eval("AreaCode").ToString())%>

posted @ 2009-07-05 17:34  刚子blog  阅读(514)  评论(0编辑  收藏  举报