ASP.Net服务端基本控件介绍ASP.Net服务端控件是ASP.Net对HTML的封装,在C#代码中就可以用txt1.Text=‘abc’这种方式来修改input的值,ASP.Net会将服务端控件转成HTML代码输出给浏览器。服务端控件是ASP.Net非常吸引初学者、非常容易上手的东西,也是最被人...
分类:
Web程序 时间:
2014-07-02 21:22:52
阅读次数:
257
自定义Exceptionusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.Serialization;namespace Model{ /...
分类:
其他好文 时间:
2014-07-02 21:11:13
阅读次数:
304
堆栈面板 StackPane 将所有的节点放在一个堆栈中进行布局管理,后添加进去的节点会显示在前一个添加进去的节点之上。这个布局为将文本(Text)覆盖在一个图形(Shape)或者图像(Image)上提供了一个简单的方案,或者可以将普通的图形相互覆盖来创建更复杂的图形。
分类:
编程语言 时间:
2014-07-02 20:50:59
阅读次数:
3227
一般在微博添加昵称和文本 QQ聊天文本中使用.宏定义#define MJTextFont [UIFont systemFontOfSize:15]定义方法/** * 计算文字尺寸 * * @param text 需要计算尺寸的文字 * @param font 文字的字体 * @p...
分类:
其他好文 时间:
2014-07-02 20:43:29
阅读次数:
162
原文:文件加密及解密 1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using System.IO; 5 using System.Runtime.Serialization; 6 using S...
分类:
其他好文 时间:
2014-07-02 20:28:03
阅读次数:
163
代码如下: 1 using System; 2 using System.Runtime.InteropServices; 3 using System.Text; 4 using System.IO ; 5 using System.Windows.Forms; 6 namesp...
分类:
其他好文 时间:
2014-07-02 20:23:24
阅读次数:
241
直接输入注册码就可以了----- BEGIN LICENSE -----Andrew WeberSingle User LicenseEA7E-855605813A03DD 5E4AD9E6 6C0EEB94 BC99798F942194A6 02396E98 E62C9979 4BB979FE91...
分类:
其他好文 时间:
2014-07-02 14:33:24
阅读次数:
183
//主窗体//F:/2.html页面function show(){//获得主窗体对象中的id为txt的控件value,并且为其赋值window.opener.document.getElementById("txt").value= document.getElementById("text")....
分类:
其他好文 时间:
2014-07-02 10:00:06
阅读次数:
160
html:<inputid="Fi_Fp"runat="server"name="Fi_Fp"type="file"/>.cs:usingSystem.IO;usingSystem.Text.RegularExpressions;usingSystem.Windows.Forms;if(Fi_Fp.PostedFile.ContentLength>0)//上传了新图书{b._upfile=uploadFile(Fi_Fp);if(isTxt==true){b._txtlist=r..
分类:
其他好文 时间:
2014-07-02 06:47:27
阅读次数:
204
在搜索框中,输入之前框内有输入的提示信息,文本框获得焦点后会自动消失的效果,效果图如下:鼠标放在文本框时的效果:创建工具类(已经存在就不用创建了)Util.js(DWR的JS)在里面添加如下方法:Js代码/***Input框里的灰色提示,使用前先引入jquery*<br>使用方法:&..
分类:
Web程序 时间:
2014-07-02 06:06:21
阅读次数:
289