码迷,mamicode.com
首页 >  
搜索关键字:form input    ( 52499个结果
C#_dropdownlist_2
stringdeptId=Request.Form["depts"].Trim();Html.DropDownList()赋默认值:页面代码如下: list = new List { new SelectListItem { Text = "启用", Value = "0",Selected = ....
分类:其他好文   时间:2014-05-19 18:59:16    阅读次数:269
调用子窗体中的控件
通常在主窗体上点击某处控件想弹出一个子窗体,在子窗体中做了一些操作,然后要在主窗体中调用子窗体中控件中的值,其实很简单,就是需要做到两点:1.在主窗体的Form Class级new子窗体frmDDL frmddl = new frmDDL();frmButton frmbtn = new frmBu...
分类:Windows程序   时间:2014-05-19 18:22:31    阅读次数:406
各种AJAX方法的使用比较
阅读目录开始第一代技术:生成客户端代理脚本调用服务端新技术的改进方向第二代技术:jQuery直接调用WebService第三代技术:更简单的数据格式第四代技术:直接提交表单多submit按钮的提交(用jQuery.form实现)批量输入控件的提交(用jQuery.form实现)提交复杂表单(用jQu...
分类:其他好文   时间:2014-05-19 11:52:53    阅读次数:429
XDU1160 - 科协的数字游戏I
Description  科协里最近很流行数字游戏。某人命名了一种不降数,这种数字必须满足从左到右各位数字成大于等于的关系,如123,446。现在大家决定玩一个游戏,指定一个整数闭区间[a,b],问这个区间内有多少个不降数。 Input 题目有多组测试数据。每组只含2个数字a, b (1 Output 每行给出一个测试数据的答案,即[a, b]之间有多少阶梯数。...
分类:其他好文   时间:2014-05-18 15:09:13    阅读次数:355
UESTC-1307-windy数
windy定义了一种windy数。 不含前导零且相邻两个数字之差至少为2的正整数被称为windy数。 windy想知道,在A和B之间,包括A和B,总共有多少个windy数? Input 包含两个整数,A B。 满足 1 Output 包含一个整数:闭区间[A,B]上windy数的个数。 Sample Input 1 10 ...
分类:Windows程序   时间:2014-05-18 10:58:32    阅读次数:372
LeetCode 016 3Sum Closest
【题目】 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exactly one solution. For example, given array S = {...
分类:其他好文   时间:2014-05-18 10:37:57    阅读次数:269
线段树-点修改-hdoj-1754
很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input...
分类:其他好文   时间:2014-05-18 10:14:18    阅读次数:273
LeetCode: Valid Parentheses [020]
【题目】 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and "([)]" are not. 【题意】 判断给定的字符串是否是合法的...
分类:其他好文   时间:2014-05-18 10:08:11    阅读次数:327
LeetCode 013 Roman to Integer
【题目】 Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 【题意】 把罗马数转换为整数 【思路】 罗马数字中只使用如下七个基值字母:M,D,C,L,X,V,I,分别用来表示1000、500、100、50、10、5、1。 大体思路是每个罗马字母对应的值相加即可, 但需要处理900, 400, 90, 40, 9, 4这几个特殊...
分类:其他好文   时间:2014-05-18 07:58:54    阅读次数:293
LeetCode: Letter Combinations of a Phone Number [018]
【题目】 Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Input:Digit string "23" Output: ["ad", "ae", "af", "bd", "be", "bf",...
分类:其他好文   时间:2014-05-18 07:30:12    阅读次数:340
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!