随笔分类 - C#
摘要://string Opath = @"C:/Picture"; //if (Opath.Substring(Opath.Length - 1, 1) != @"/") //Opath = Opath + @"/"; //string photoname = DateTime.Now.Ticks.To
阅读全文
摘要:一. 二进制转换成图片 MemoryStream ms = new MemoryStream(bytes); ms.Position = 0; Image img = Image.FromStream(ms); ms.Close(); this.pictureBox1.Image 二. C#中byt
阅读全文
摘要:private void button2_Click_1(object sender, System.EventArgs e) { string pathName; if (this.openFileDialog1.ShowDialog()==System.Windows.Forms.DialogR
阅读全文
摘要:usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Drawing; usingSystem.IO; namespaceMicrosoft.Form.Base {
阅读全文
摘要:引入相应css 和js 页面HTML 我这里用到的是 服务器端处理。(很少有人把数据全部取出来,让js 处理的吧。。。) JS 代码 初始化 var oTable = null; var initUserList = function () { var table = $('#UserList');
阅读全文
posted @ 2017-02-17 20:19
如果声音记得
摘要:public string GetUserIP() { string _userIP; if(Request.ServerVariables["HTTP_VIA"] == null) { userIP= Request.UserHostAddress; } else { userIP= Reques
阅读全文

浙公网安备 33010602011771号