摘要: Introduction Most web-based slide show applications depend on a database for some or all of the storage. This application allows you to show pictures from a directory structure without any underlying database. The application uses an ASP.NET 2.0 TreeView control for file system navigation... 阅读全文
posted @ 2012-02-09 19:17 ChaunceyHao 阅读(360) 评论(0) 推荐(0)
摘要: using System.Text; 2using System.IO; 3using System.Runtime.Serialization; 4 5 static string Serialize(object obj) 6 { 7 using (MemoryStream memoryStream = new MemoryStream()) 8 using (StreamReader reader = new StreamReader(memoryStream)) 9 { 10 DataContractSerializer serializer = new DataC... 阅读全文
posted @ 2012-02-09 19:14 ChaunceyHao 阅读(414) 评论(0) 推荐(0)