码迷,mamicode.com
首页 >  
搜索关键字:vue v-on @click 事件绑定    ( 31700个结果
文件上传控件FileUpload用法初步
1 2 3 4 5 1.aspx.cs 6 7 8 //上传文件按钮 9 protected void btnUpload_Click(object sender, EventArgs e) 10 { 11 //定义保存路径 12 ...
分类:其他好文   时间:2014-05-09 15:53:42    阅读次数:243
截图Rectangle contructor with double type perameters with Jcrop for crop image
protected void btnCrop_Click(object sender, EventArgs e) { ...
分类:其他好文   时间:2014-05-09 04:02:32    阅读次数:335
sahrepoint 上次数据到文档库
sharepoint学习笔记汇总 http://blog.csdn.net/qq873113580/article/details/20390149    protected void Button1_Click(object sender, EventArgs e)         {             using (SPSite site = new SPSite("http:...
分类:其他好文   时间:2014-05-08 17:13:44    阅读次数:254
选择文件获取地址
private void button1_Click(object sender, EventArgs e) { //OpenFileDialog dlg = new OpenFileDialog(); OpenFileDialog fileDialog1 = new OpenFileDialog....
分类:其他好文   时间:2014-05-08 13:27:26    阅读次数:229
Asp.Net 下载文件的几种方式
asp.net下载文件几种方式 protected void Button1_Click(object sender, EventArgs e) { /* 微软为Response对象提供了一个新的方法TransmitFile来解决使用Response.BinaryWrite 下载超过400m...
分类:Web程序   时间:2014-05-08 11:54:24    阅读次数:498
HDU 1011 Starship Troopers(树形dp)
OJ题目:click here~~ 树上的01背包 const int maxn = 102; int val[maxn]; int w[maxn]; vector g[maxn]; int dp[maxn][maxn]; int n , m ; void dfs(int u , int father){ int v , i , j , k; for(i = w[u];i...
分类:其他好文   时间:2014-05-08 05:09:28    阅读次数:323
普通按钮的另一种提交方式(调用后台事件)
后台: protected void ibtnRegedit_Click(object sender, ImageClickEventArgs e) { if (!Page.IsValid || !CheckVCode()) retu...
分类:其他好文   时间:2014-05-08 00:44:32    阅读次数:281
UVA 10603 Fill(正确代码虽然很搓,网上许多代码都不能AC)
题目链接:click here~ 此题我估计是加强过数据,在我纠结了很久的时候我交了好几份网上的代码不是WA就是TLE。在我很迷茫的时候我又交了一份,AC了(虽然我用随机数据找到了他代码一个不能过的数据)。 给了我信心,然后我拿他的代码用随机数跟我的代码进行测试,再用FC找不同。。发现了一个致命的错误,一般来说,BFS或者DFS都是需要有一个vis数组或者哈希来判重,但是此题判重是有很大问题的...
分类:其他好文   时间:2014-05-07 22:48:42    阅读次数:400
打印文件
private void button1_Click(object sender, EventArgs e) { //OpenFileDialog dlg = new OpenFileDialog(); OpenFileDialog dlg = new OpenFileDialog(); if...
分类:其他好文   时间:2014-05-07 20:28:32    阅读次数:295
FZOJ 1157 Crazy Tea Party
OJ题目:click here~~ 题目分析:1……n按顺序围成一个圈,1与n相邻。交换相邻两个数算1步。至少需要多少步,得到一个逆方向的1……n的圈。 分两半,使用冒泡排序,排成逆序的交换次数之和即为结果。 AC_CODE int f(int n){ return n*(n - 1)/2; } int main(){ int n , t; cin >> t; ...
分类:其他好文   时间:2014-05-06 23:15:55    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!