摘要:
publicpartialclassForm4:Form{privatePointpoint=newPoint(0,0);privateSystem.Drawing.Rectanglerectangle=newRectangle(0,0,0,0);privateboolisdrawselect;publicForm4(){InitializeComponent();}privatevoidForm4_Load(objectsender,EventArgse){}privatevoidForm4_MouseDown(objectsender,MouseEventArgse){point=e.Lo 阅读全文
摘要:
将图片以流的形式保存到数据库(Image)以及从数据库中取出显示try{stringimagepath=@"D:\backImage\black.jpg";FileStreamfs=newFileStream(imagepath,FileMode.Open);BinaryReaderbr=newBinaryReader(fs);byte[]myimages=br.ReadBytes(Convert.ToInt32(fs.Length));//stringconn_Str=@"server=.;database=pubs;user=sa;pwd=sasa" 阅读全文
摘要:
在之间,加入,,, .... 阅读全文
摘要:
将下面的保存为.html就可以看到效果了!!! ----------------------------------------------------------------------------- transform between native and ascii Type in the message here, and click a command b... 阅读全文
摘要:
select CONVERT(varchar(10), getDate(),120) --不要时间2002-1-1 select convert(char(8),getdate(),112) ----20020101 select convert(char(8),getdate(),108) ---06:05:05 101 ... 阅读全文
摘要:
convert(int,rand(checksum(newid()))*100) 阅读全文
摘要:
--创建动态添加列的存储过程 ,这个还可以其它扩展 CREATE procedure proc_AddColumn @columnName varchar(20), @columnTyp... 阅读全文
摘要:
样式标签属性 样式属性 描述 ACCELERATOR accelerator 设置或获取表明对象是否包含快捷键的字符串。 background background 设置或获取... 阅读全文
摘要:
阅读全文
摘要:
字符换行 div All white-space:normal; Wordwrap still occurs in a td element that has its WIDTH attribute set to a value smaller than the unwrapped content of the cell, even if the noWrap property is... 阅读全文
摘要:
... 阅读全文
摘要:
非常有用的文章~!~!忘记的时候可以来查找一下... 文件下载,指定默认名 Response.AddHeader(”content-type”,”application/x-msdownload”); Response.AddHeader(”Content-Disposition”,”attachment;filename=要下载的文件名.rar”); 刷新页面 Response.Add... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//引用外部的JS文件HtmlGenericControlscriptControl=newHtmlGenericControl("script");scriptControl.Attributes.... 阅读全文