码迷,mamicode.com
首页 >  
搜索关键字:Forms    ( 2772个结果
近期ASP.NET问题汇总及对应的解决办法
1. 使用SQL统计一个字符串中指定字符的个数,示例(统计0的个数):select len('402301001') - len(replace('402301001','0',''))2. 使用Forms认证,客户端本地时间不对无法登陆系统,解决办法:FormsAuthentication.Red...
分类:Web程序   时间:2014-09-28 18:15:23    阅读次数:199
跨线程的安全更新控件
在你的工程中的扩展方法类中写下一个SafeCall方法:using System;using System.Windows.Forms; namespace WindowsFormsApplication1{ public static class Extensions { ...
分类:编程语言   时间:2014-09-26 13:33:48    阅读次数:150
document.forms 获取 name 得到select 对象
1 2 var obj = document.forms['t_form'].t_select var index = obj.selectedIndex; alert(obj.options[index].v...
分类:其他好文   时间:2014-09-26 01:46:18    阅读次数:175
sicily 1046 Plane Spotting 快速排序解题
1046. Plane SpottingConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionCraig is fond of planes. Making photographs of planes forms a major p...
分类:其他好文   时间:2014-09-25 21:28:37    阅读次数:194
WinForm特效:同时让两个窗体有激活效果
windows api,一个窗体激活的时候给另外一个发消息[csharp]view plaincopyusingSystem;usingSystem.Windows.Forms;usingSystem.Runtime.InteropServices;namespaceWindowsApplicati...
分类:Windows程序   时间:2014-09-25 11:19:58    阅读次数:251
C#操作动态语言----Python
ususingSystem; usingSystem.Collections.Generic; usingSystem.ComponentModel; usingSystem.Data; usingSystem.Drawing; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; usingSystem.Windows.Forms; usingMicrosoft.Scripting.Hosting; usingIronPython...
分类:编程语言   时间:2014-09-25 04:31:49    阅读次数:377
django上传文件
django上传文件template html(模板文件): 有如下一个form:from django import formsclass UploadFileForm(forms.Form): title = forms.CharField(max_length=50...
分类:其他好文   时间:2014-09-24 23:26:37    阅读次数:255
Container With Most Water
-----QUESTION----- Given n non-negative integers a1, a2,..., an,where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai)and (i,0). Find two lines, which together with x-axis forms ...
分类:其他好文   时间:2014-09-24 20:39:27    阅读次数:218
c#抓取当前电脑显示分辨率
using System.Windows.Forms;获取屏幕分辨率 int SH = Screen.PrimaryScreen.Bounds.Height; int SW = Screen.PrimaryScreen.Bounds.Width;获取窗口居中Top和Left int thisH=10...
分类:其他好文   时间:2014-09-24 19:42:57    阅读次数:197
Web Pages(单页面模型)
.NET 是一套框架,用来个HTML、JS、CSS和服务器端脚本构建网页和网站。可以有三种开发模式:Web Pages(单页面模型)、MVC(模型视图控制器)、Web Forms(事件驱动模型)Web Forms简介1、最简单的ASP.NET模型2、类似于PHP和ASP3、内置了用于数据库、视频、社...
分类:Web程序   时间:2014-09-24 18:08:57    阅读次数:507
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!