摘要: 1.选取某个节点方法一:newNode = document.DocumentElement.SelectSingleNode("//student[@id='A103']");方法二:newNode = document.DocumentElement.SelectSingleNode("/stu... 阅读全文
posted @ 2014-05-20 13:00 ChineseMoonGod 阅读(691) 评论(0) 推荐(0) 编辑
摘要: public static void ExportExcel(DataGridView DataGridView01){ Stream stream = null; StreamWriter writer = null; SaveFileDialog dialog = new Sa... 阅读全文
posted @ 2014-05-20 12:39 ChineseMoonGod 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1.根据路径把图片转成二进制保存在数据库里public bool SaveImage(string filePath) { bool isSuccess = false; string FilePath = filePath; ... 阅读全文
posted @ 2014-05-20 11:12 ChineseMoonGod 阅读(267) 评论(0) 推荐(0) 编辑