码迷,mamicode.com
首页 >  
搜索关键字:click    ( 10709个结果
Asp.Net:上传文件
Asp.Net中很方便就能做个上传,例如做一个图片的上传: 对应的上传代码如下:protected void btnUpload_Click(object sender, EventArgs e) { if (!picUpload.HasFile) ...
分类:Web程序   时间:2014-08-07 00:39:07    阅读次数:259
android中根据touch事件判断单击及双击
private static final int MAX_INTERVAL_FOR_CLICK = 250;     private static final int MAX_DISTANCE_FOR_CLICK = 100;     private static final int MAX_DOUBLE_CLICK_INTERVAL = 500;     int mDownX = 0; ...
分类:移动开发   时间:2014-08-06 23:12:02    阅读次数:484
window.onload()和$(document).ready()区别
1 $(window).load(function() {2 $("#btn-upload").click(function(){ //比如说:3 uploadPhotos();4 });5 });
分类:Windows程序   时间:2014-08-06 21:52:02    阅读次数:234
使用MongoVUE对MongoDB 进行MapReduce操作步骤
Step 1 Open MongoVUE and connect to the server that contains the collection “cities”   Step 2 Right-click on “cities” collection under “Database Explorer”, and select “MapReduce”. This will laun...
分类:数据库   时间:2014-08-06 19:07:42    阅读次数:352
EasyUI设置复选框单选操作
Html 代码: 未知的性别 男 女 未说明的性别 JS代码 //设置性别为单选 $("input[name='SEX']:checkbox").click(function () { var flag = $(this).is(':checked'); if (flag) { $(th...
分类:其他好文   时间:2014-08-06 17:42:21    阅读次数:278
GridView控件点击单元格如何获取该列的列标题
本博文Insus.NET教你实现在GridView控件中,用mouse点击某单元格之后,希望能获取到该列的列标题。创建一个网页,创建一个GridView控件:去cs绑定数据给GridView控件:下面我们需要写注册click事件,以便获取被点击的行或列索引。在网页中override Render()...
分类:其他好文   时间:2014-08-06 17:40:11    阅读次数:298
浏览器显示XML文档
在网站后台管理介面上,有一个预览铵钮,管理员能点一点,把XML的文档显示于浏览器上。这个XML文档如下:HTML Markup:去.aspx.cs写ButtonPreview_Click事件:运行:
分类:其他好文   时间:2014-08-06 14:42:31    阅读次数:220
c#添加事物(全部执行和带保存点的执行)
全部执行 protected void Button2_Click(object sender, EventArgs e) { // 执行事务 SqlConnection con = new SqlConnection(str); ...
分类:其他好文   时间:2014-08-06 11:46:11    阅读次数:309
svg 添加超链接
Click hereOr hereOr even here
分类:其他好文   时间:2014-08-06 01:54:10    阅读次数:819
NPOI导入导出数据
//导入数据protectedvoidbtnImport_Click(objectsender,EventArgse) { //判断fileImport控件中是否有需要上传的文件 if(this.fileImport.HasFile) { //判断文件类型是否符合要求 if...
分类:其他好文   时间:2014-08-05 22:05:10    阅读次数:300
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!