C# imgage图片转base64字符/base64字符串转图片另存成
摘要:```code //图片转为base64编码的字符串 protected string ImgToBase64String(string Imagefilename) { try { Bitmap bmp = new Bitmap(Imagefilename); MemoryStream ms = new MemoryStream...
阅读全文
posted @
2017-08-17 11:09
雪夜
阅读(6170)
推荐(0) 编辑
base64编码的 文件 图片
摘要:```code //图片 转为 base64编码的文本 private void button1_Click(object sender, EventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.Multiselect = true
阅读全文
posted @
2017-08-17 10:57
雪夜
阅读(455)
推荐(0) 编辑
CSS
摘要:IE6能识别下划线"_"和星号" " IE7能识别星号" ",但不能识别下划线"_" 而firefox两个都不能认识 ff, ie7以上能识别 !important, !important是优先级 开头的css属性能被ie6和ie7识别;_开头的css属性只能被ie6识别;前面两个高版本浏览器都不识
阅读全文
posted @
2017-08-02 16:47
雪夜
阅读(139)
推荐(0) 编辑
Exception has been thrown by the target of an invocation 网站报错
摘要:最近因为要做一个启动器,在使用WPF做UI的时候,发现有错误如下: 错误 1 未知的生成错误“此实现不是 Windows 平台 FIPS 验证的加密算法的一部分。 行 8 位置 3.” c:\users\tinayh\documents\visual studio 2013\Projects\Wpf
阅读全文
posted @
2017-08-01 09:33
雪夜
阅读(7823)
推荐(1) 编辑