□ 重写前 通常这样写: @Html.DropDownListFor(m =>
m.DelFlag,(List □ 重写后 重写name属性: @Html.DropDownListFor(m => m.DelFlag,(List
注意: 如果写成new {id="dd",name="myName"}...
分类:
Web程序 时间:
2014-05-08 13:29:01
阅读次数:
532
private void button1_Click(object sender, EventArgs
e) { //OpenFileDialog dlg = new OpenFileDialog(); OpenFileDialog fileDialog1 =
new OpenFileDialog....
分类:
其他好文 时间:
2014-05-08 13:27:26
阅读次数:
229
类就好像一张图纸,而对象就是通过这个图纸创造出来的实物,一个类可以创造出多个对象,对象之间可以是不同的,根据成员变量值的不同即属性不同,对象也就
会不同,做出的行为状态也不同,例如一个车类,它的属性有speed,wheels等,根据speed值的不同可以区分对象,做出跑的状态不同,有的 speed....
分类:
其他好文 时间:
2014-05-08 12:48:59
阅读次数:
305
总是忘记, 备份一下,方便下次用.第一种:File directory = new
File("");//参数为空String courseFile = directory.getCanonicalPath()
;System.out.println(courseFile);结果:C:\Docume...
分类:
编程语言 时间:
2014-05-08 12:43:50
阅读次数:
343
分两步进行:第一步,复制表结构:
在表上面右击——>编写表脚本为:——>Create到——>新查询编辑器窗口,你也可以保存为sql文件,将新查询编辑器窗口最上面的一句话USE
[olddatabase]中的“olddatabase”修改为“newdatabase”,其中olddatabase为源数据...
分类:
数据库 时间:
2014-05-08 12:32:54
阅读次数:
338
#import @interface Car : NSObject{ @public int
speed; int wheels;}// oc方法必须是-开头// oc方法中所有的数据类型必须得用括号括起来//
oc方法中的()就是用来扩住数据类型的-(void)run;@end@implement...
分类:
其他好文 时间:
2014-05-08 12:25:41
阅读次数:
267
通过Ajax到数据库去验证是否存在这个用户:PHP代码: 1 js代码: 1 var
xmlHttp; 2 function getXmlHttp(){ 3 if(window.ActiveXObject){ 4 xmlHttp = new
ActiveXObject("MI...
分类:
Web程序 时间:
2014-05-07 21:28:21
阅读次数:
401
//文件远程下载 WebClient client = new WebClient(); Uri
uri = new Uri(url); client.DownloadFile(Uri uri,String
filename);//文件一定得存在不然会报错所以在删除文件时先判断这个文件是否存...
分类:
其他好文 时间:
2014-05-07 21:07:37
阅读次数:
284
1 调用发送短信功能:Uri smsToUri =
Uri.parse("smsto:");Intent sendIntent = new Intent(Intent.ACTION_VIEW,
smsToUri);sendIntent.putExtra("address", "123456");//...
分类:
移动开发 时间:
2014-05-07 20:37:58
阅读次数:
639
private void button1_Click(object sender, EventArgs
e) { //OpenFileDialog dlg = new OpenFileDialog(); OpenFileDialog dlg = new
OpenFileDialog(); if...
分类:
其他好文 时间:
2014-05-07 20:28:32
阅读次数:
295