- 博客(11)
- 收藏
- 关注
原创 null
public static String htmlEncoder(String src) throws Exception ...{ if (src == null || src.equals("")) ...{ return ""; } String dst = src;
2006-11-08 22:32:00 502
原创 JS
1.function showDialog(url) ...{ var width = 500; var height = 400; var left = (screen.width-width)/2; var top = (screen.height-height)/2; var x = window.open(url,"", "help=false, r
2006-09-25 17:01:00 592
原创 js学习2
window.statue = "welcome to my web site!"; //browser status barwindow.open("userhelp.htm","_blank","height=300,width=200,toolbar=no,status=no,menubar=no,location=no");//the preceding code will open a
2006-09-06 16:23:00 630
原创 css学习1
format:selector { attribute1 : value; attribute2 : value; ... attribute3 : value;}Selector HTML Code Affectedh1 Affects alltags in the document.#heading Affects the ta
2006-09-06 16:21:00 578
原创 javascript学习
//////////////////////////////函數學習/////////////////////////////isNaN 判断是否数字parseInt 转换为数字array.length 数组长度array.join() 数组转换为字符串array.join(" ")array.sort() 数组排序setTimeout(函数, 时间) javascript定时器setInterv
2006-09-06 09:32:00 663
转载 keycode
keycode 0 =keycode 1 =keycode 2 =keycode 3 =keycode 4 =keycode 5 =keycode 6 =keycode 7 =keycode 8 = BackSpace BackSpacekeycode 9 = Tab Tabkeycode 10 =keycode 11 =keycode 12 = Cl
2006-09-06 09:24:00 712
转载 向Word中插入图片,C#编写的生成缩略图程序
一 . {向Word中插入图片。}procedure PasteImage(Mydoc: TWordDocument{目标Word文档}; PasPicture: Tpicture; ParagraphsNum: integer{段落序号});{向Word中插入图片。}varAdata: Thandle; //临时句柄变量。Apalette: HPALETTE; //临时变量。MyFormat
2006-08-25 10:06:00 3500 1
转载 在.net中实现对word的操作
Public Class vbwordappClass vbwordapp Private oWordApplic As word.ApplicationClass Private oDoc As word.Document Public Sub vbwordapp()Sub vbwordapp() 激活com word接口 oWordA
2006-08-20 20:26:00 874
原创 从excel中导入数据到ds
private DataSet BindDsFromExcel(string strFileDir) 3 { 4 string strConn; 5 strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+strFileDir+";Extended Properties=E
2006-08-18 17:21:00 763
原创 学习小结2
1.大文件上传 currentMillionSecond = server.getCurMillsForFileName(); string url = MyConstValue.ServerAddress + "/shpfileuploadservlet?fileName=" + currentMillionSecond + ".shp";
2006-08-18 17:17:00 790 1
原创 学习小结1
1.向Word添加图片 imgPhoto = Image.FromFile("c:/" + Convert.ToString(millionSecond) + ".jpeg");Clipboard.SetImage(imgPhoto);oPhoto1 = "photo1";document.Bookmarks.Item(ref oPhoto1).Range.Paste();2.
2006-08-18 16:53:00 574
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人