码迷,mamicode.com
首页 >  
搜索关键字:from file system    ( 153319个结果
shoppingCart
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;usin...
分类:其他好文   时间:2014-05-01 13:28:29    阅读次数:274
login
using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using ...
分类:其他好文   时间:2014-05-01 13:25:21    阅读次数:380
提高SQL语句查询效率
1.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在num...
分类:数据库   时间:2014-05-01 13:23:55    阅读次数:443
"只能在执行Render()的过程中调用RegisterForEventValidation" 解决方案
开发中遇到令人蛋疼的问题:只能在执行Render()的过程中调用RegisterForEventValidation当出现的异常的提示:异常详细信息: System.InvalidOperationException:只能在执行Render()的过程中调用RegisterForEventValida...
分类:其他好文   时间:2014-05-01 13:16:15    阅读次数:400
在一台电脑访问另一台电脑的mysql数据库
1.假设192.168.1.3为服务器2.首先在ip为192.168.1.103的机子上能够ping通运行->cmd>ping192.168.1.3检查是否能ping通3.把两台电脑的IP设置在同一个网段,如:192.168.1.2,192.168.1.3。。。。。子网:255.255.255.0网...
分类:数据库   时间:2014-05-01 13:01:56    阅读次数:580
Iterator和Enumeration
iterator的hasNext() 和 next()方法用于enumeration的hasMoreElements() 和 nextElement()iterator it = a.itreator();Enumeration en = new Enumeration(){@Overridepub...
分类:其他好文   时间:2014-05-01 12:59:57    阅读次数:358
对字典作集合操作
>>> d1 = dict(a = 1, b = 2)>>> d2 = dict(b = 2, c = 3)>>> d1 & d2 # 字典不?支持该操作Traceback (most recent call last): File "", line 1, in TypeError: unsupp....
分类:其他好文   时间:2014-05-01 12:50:50    阅读次数:341
NPOI技术,
using(FileStream stream=new FileStream("C:\Users\XXXXXX\Desktop\1.xls",FileMode.Open)) { HSSFWorkbook workbook=new HSSF...
分类:其他好文   时间:2014-05-01 12:43:07    阅读次数:366
【WPF】验证
using System;using System.Collections.Generic;using System.ComponentModel;using System.Co...
分类:其他好文   时间:2014-05-01 12:25:41    阅读次数:390
创建文本文件
StreamWriter SW; SW = File.CreateText(@"C:\Documents and Settings\Administrator\桌面\MyTextFile.txt"); SW.WriteLine("File Created ...
分类:其他好文   时间:2014-05-01 12:01:44    阅读次数:278
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!