06 2012 档案
摘要:xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"前台view页面的ComboBox :<ComboBox Height="23" Margin="121.465,21.435,160.048,0" VerticalAlignment="Top" ItemsSource="{Binding SupplierList}" DisplayMemb...
阅读全文
摘要:使用WCF编写服务,涉及到xml的读取,使用了System.AppDomain.CurrentDomain.BaseDirectory来获取路径,获得的是项目的基目录例如:string path = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, @"Data.xml");xml文件:<?xml version="1.0" encoding="utf-8" ?><Users> <User> <UserNa
阅读全文