上一页 1 ··· 6 7 8 9 10
摘要: I won't bore you with the directors' cut of the past couple of hours. I'll just give you the highlights...Try each of the other services. No luck.Close and reopen solution. No luck.Close and reopen Visual Studio 2010. No luck.Reboot machine. "I'm lying. I wasn't that despera 阅读全文
posted @ 2012-02-09 16:29 fannet 阅读(587) 评论(0) 推荐(0)
摘要: --读取库中的所有表名 select name from sysobjects where xtype='u' --读取指定表的所有列名 select name from syscolumns where id=(select max(id) from sysobjects where xtype='u' and name='表名')--依照officialDocument的表结构创建officialDocumentdraft表select * into officialDocumentdraft from officialDocument wh 阅读全文
posted @ 2011-08-25 17:24 fannet 阅读(165) 评论(0) 推荐(0)
摘要: app.xamlpublic App(){bool registerResult = WebRequest.RegisterPrefix("http://", WebRequestCreator.ClientHttp);bool httpsResult = WebRequest.RegisterPrefix("https://", WebRequestCreator.ClientHttp);}//显示真实错误信息 阅读全文
posted @ 2011-08-25 15:34 fannet 阅读(126) 评论(0) 推荐(0)
摘要: 1.获取web.config配置内容:web.config<appSettings> <add key="Token" value="30DED145"/> </appSettings>default.aspxprotected string InitParams { get; set; }InitParams = string.Format("{0}={1}", "key1", "value1");InitParams += string.Format(&q 阅读全文
posted @ 2011-08-25 11:18 fannet 阅读(628) 评论(0) 推荐(0)
摘要: http://forums.silverlight.net/forums/p/199477/466291.aspx 阅读全文
posted @ 2011-05-11 09:27 fannet 阅读(321) 评论(0) 推荐(0)
摘要: 先根元素设置名称 x:Name="ucOrderInfoView" ,然后可直接引用元素绑定Command="{Binding ElementName=ucOrderInfoView,Path=DataContext.PrintsCommand}"绑定字符串格式{Binding Total, StringFormat='Total: {0}'} 阅读全文
posted @ 2011-05-11 09:25 fannet 阅读(149) 评论(0) 推荐(0)
摘要: 在 sql2008中,当展开存储过程目录时出现:解决:直接按F7 ,在explorer中查看存储过程,可能存储过程太多的缘故。 阅读全文
posted @ 2011-05-04 16:08 fannet 阅读(772) 评论(0) 推荐(0)
摘要: 错误信息:HTTP Error 500.19 - Internal Server ErrorDescription: The requested page cannot be accessed because the related configuration data for the page is invalid. Error Code: 0x80070005 Notification: BeginRequest Module: IIS Web Core Requested URL: http://localhost:80/ProductsService/ProductsService.s 阅读全文
posted @ 2011-05-04 12:22 fannet 阅读(645) 评论(0) 推荐(0)
摘要: public class ViewModel : INotifyPropertyChanged{ private Item _selectedItem; public ViewModel() { Items = new ObservableCollection<Item>() { new Item {Name = "Foo"}, new Item {Name = "Bar"} }; foreach ( Item anItem in Items { anItem.PropertyChanged += OnItemIsSelectedChange 阅读全文
posted @ 2011-04-19 23:56 fannet 阅读(322) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10