
asp.net+c#
jsljy
这个作者很懒,什么都没留下…
展开
-
中文url找不到的问题
在IIS服务器的注册表中更改:1. HKLM/System/CurrentControlSet/Services/InetInfo/Parameters/FavorDBCS = 0.2. 重启服务器。原创 2005-02-19 14:55:00 · 1221 阅读 · 0 评论 -
图片用滚轮来控件大小
function bbimg(o){ var zoom=parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+%; return false;}原创 2005-03-03 16:21:00 · 869 阅读 · 0 评论 -
sqlserver启动images字段的全文检索
use epointnetoffice_XSEXEC sp_fulltext_database enableEXEC sp_fulltext_catalog My_FullDir, createdeclare @Key sysname ; select @Key=c.name from syscolumns a,sysconstraints b,sysobjects c where原创 2005-02-24 14:20:00 · 859 阅读 · 0 评论 -
asp.net 防止页面滚动的两个方法[引用]
一、 private void RetainScrollPosition() { StringBuilder saveScrollPosition = new StringBuilder (); StringBuilder setScrollPosition = new StringBuilder (); RegisterHiddenField("__SCROLLPOS", "原创 2005-02-21 15:55:00 · 1156 阅读 · 0 评论 -
image与byte数组的转换[引用]
image to byte[] MemoryStream ms=new MemoryStream(); byte[] imagedata=null; pictureBox1.Image.Save(ms,System.Drawing.Imaging.ImageFormat.Gif ); imagedata=ms.GetBuffer ();byte[] to imageSystem.D原创 2005-02-21 15:52:00 · 1297 阅读 · 0 评论 -
关于层的挡隔问题的探讨
.被Flash挡住设置Flash的参数:http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="468" height="60">http://pepsi.flash8.net/pepsi46860.swf"> http://pepsi.flash8.net/pepsi原创 2005-02-19 14:57:00 · 1248 阅读 · 0 评论 -
怎么样去判断一个入库图片的大小
MemoryStream ms=new MemoryStream(); ms=new System.IO.MemoryStream(new BizLogic.Webinfo.DB_WebinfoUpfiles().detail_WebinfoUpfiles(dvHeadNews[0]["attachid"].ToString()).fileContent); System.Dr原创 2005-02-28 10:24:00 · 885 阅读 · 0 评论 -
oracle中的导出数据库语句
exp jiangyin/gtig_newtech**##@jyzw_172.18.0.3 file=d:/OracleDBBack/jiangyin%date:~0,3%.dmp exp webinfo/gtig_newtech**##@jyzw_172.18.0.3 file=d:/OracleDBBack/webinfo%date:~0,3%.dmp exp AccountDirectory原创 2005-02-22 17:05:00 · 1308 阅读 · 0 评论 -
c#.net函数和方法集(转载)
1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月原创 2005-02-19 14:48:00 · 845 阅读 · 0 评论 -
window.open()做了较为详尽的解释
实际上,这个例子并不难,仅仅是window.open()的一个较为特殊的用法,其过程是这样:首先打开一个窗口,然后向这个窗口中写入一段代码(即参数code)。下面就对open()方法进行讲解。 首先看看用法:newwin=window.open(url,name,features); 基中newwin是一个window对象的变量,代表新的窗口,我们可以用newwin来调原创 2005-02-19 14:56:00 · 2010 阅读 · 1 评论 -
判断是否是字数字最好办法
public static bool IsNum(String str){ for(int i=0;i { if(str[i]=9) return false; } return true;}原创 2005-03-03 19:43:00 · 962 阅读 · 1 评论