摘要: 2007年05月23日 星期三 下午 03:13 根据维基百科的解释,“社会网络(Social Networking:SN)”是指个人之间的关系网络。 据一些不系统的分析,社会网络(或称为社会性网络)的理论基础源于六度分隔理论(Six Degrees of S... 阅读全文
posted @ 2008-02-01 10:34 point.deng 阅读(688) 评论(0) 推荐(0) 编辑
摘要: 2007年04月25日 星期三 下午 03:48 一天,一只兔子在山洞前写文章, 一只狼走了过来,问:"兔子啊,你在干什么?" 答曰:"写文章。"问:"什么题目?"答曰:"《浅谈兔子是怎样吃掉狼的》。" ... 阅读全文
posted @ 2008-02-01 10:33 point.deng 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 注意:所有列为模板列最佳; ItemDataBound事件: if(e.Item.ItemType==ListItemType.Item||e.Item.ItemType==ListItemType.AlternatingItem) { Label lb_name=(Label)e.Item.Cells[1].FindControl("l_name"); Label l... 阅读全文
posted @ 2008-02-01 10:31 point.deng 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 要想在页面或窗体上绘出一张图像或图形,如果是BS必须要有一张图像,CS可以不用 CS下地做法: 一:定义GDI Graphics q = this.CreateGraphics();//在using System.Drawing;里 二:定义颜色,可自定义或用系统的, Random r = new Random();//随机类 自定义颜色: Color c = Color.FromArgb(r.N... 阅读全文
posted @ 2008-02-01 10:30 point.deng 阅读(2056) 评论(1) 推荐(0) 编辑
摘要: 一、把图片保存到数据库,这里要分成两步: 1)把图片存入到一个字节数组中(byte[])这里要把它的数据读入到数组中: /// /// 用图片控件取到它的图片数据流 /// /// 控件HtmlInputFile的控件名 /// 返回的信息 /// 文件大小 /// public byte[] IntoPics(HtmlInputFile chang... 阅读全文
posted @ 2008-02-01 10:28 point.deng 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 一、using System.Runtime.InteropServices; 二、[DllImport("Shell32.dll")] public static extern int ExtractIcon(IntPtr hInst, string strFileName, int nIconIndex); [DllImport("Shell32.dll")... 阅读全文
posted @ 2008-02-01 10:27 point.deng 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 分割: int fen = Convert.ToInt32(Console.ReadLine()); FileStream f = new FileStream(@"C:\Documents and Settings\new\桌面\陈浩民取一念(西游记ii主题曲).mp3", FileMode.Open); byte[] bb = new byt... 阅读全文
posted @ 2008-02-01 10:26 point.deng 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 0表示加到表前,-1表示加到表后 添加: var newRow = document.getElementById("mytable").insertRow(0); var cell = newRow.insertCell(0); cell.innerHTML = "a"; 删除: mytable.deleteRow(-1); 还是很有用的, 阅读全文
posted @ 2008-02-01 10:25 point.deng 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 终于,我在这里注册了一个能写我的东西的地方了,很早就想这样的,但我觉得还没必要,现在觉得可能有时候须要了. 我经常来这里找资料,有时常看到有人问问题,回答问题,我只是看,但是也知道了不少的东西,这使我喜欢上了这里.另,我一个偶像在这里有一片天地,使我知道这里的人的身份.,有种提高自己的欲望,使我创建了这里.太开心了. 阅读全文
posted @ 2007-12-14 14:33 point.deng 阅读(137) 评论(0) 推荐(0) 编辑