11 2013 档案
Linq To DataSet
摘要:private static void LinqToDataSet() { string sql = "select * from Advertising"; using (DataSet ds = GetDataSet(sql)) { if (ds != null) { if (ds.Tables[0].Rows.Count > 0) { ... 阅读全文
posted @ 2013-11-29 18:44 高兴happy 阅读(291) 评论(0) 推荐(0) 编辑
图片二进制转换
摘要:图片转化为二进制using (FileStream fs = new FileStream(picpath, FileMode.Open, FileAccess.Read)) // { // using (BinaryReader read = new BinaryReader(fs)) // { // photobyte = read.ReadBytes(... 阅读全文
posted @ 2013-11-15 10:07 高兴happy 阅读(757) 评论(0) 推荐(0) 编辑


点击右上角即可分享
微信分享提示