这些天用泛型做了一个数据库的底层,自我感觉很方便,但是功能不是很完善,会继续考虑下去下面给大家分享一下代码1数据库连接的帮助类using
System;using System.Collections.Generic;using System.Linq;using
System.Text;using...
分类:
数据库 时间:
2014-05-01 14:07:32
阅读次数:
603
1.this.dsConfig = new DataSet();//使用指定的文件将 XML
架构和数据读入 System.Data.DataSet。
this.dsConfig.ReadXml(System.Windows.Forms.Application.StartupP...
分类:
其他好文 时间:
2014-05-01 13:47:02
阅读次数:
304
# pacman -S gnome-system-log
gnome-logsextra/gnome-logs 3.12.1-1 (gnome-extra) A log viewer for the systemd
journalextra/gnome-system-log 3.9.90-1 ...
分类:
系统相关 时间:
2014-05-01 02:22:35
阅读次数:
471
Submitted by Lars Windolf on 19. October 2012 -
21:53http://lzone.de/dump%20memcache%20keysYou spent already 50GB on the
memcache cluster, but you sti...
分类:
其他好文 时间:
2014-05-01 02:17:26
阅读次数:
489
using System; using System.Collections.Generic;
using System.ComponentModel; using System.Data; using System.Drawing; using
System.IO; using System.Li...
分类:
其他好文 时间:
2014-05-01 01:02:33
阅读次数:
322
今天新装了vs2012,安装完成后,创建了一个mvc4应用程序,创建生成出现了几个错误。通过错误我们的解决方案就是去找引用不到的路径,如何在vs2012中实现呢?在工具栏中找工具--库程序包管理器---程序包管理器控制台完成后下方会出现一个控制台框。在控制台中输入Install-Package
Mi...
分类:
Web程序 时间:
2014-05-01 00:15:06
阅读次数:
545
【创建目录】using
System.IO;Directory.CreateDirectory(FilePath);【使用WriteFile下载文件】private string
fileName = HttpContext.Current.Server.UrlEncode("规范.rar"); p...
分类:
其他好文 时间:
2014-04-30 23:34:03
阅读次数:
443
using System;using System.Web;public class
Search_Book : IHttpHandler { public void ProcessRequest (HttpContext context) {
context.Respo...
分类:
其他好文 时间:
2014-04-30 23:28:59
阅读次数:
372
在MVC3里面——程序集 System.Web.Mvc.dll,
v4.0.30319有这么一个Ajax.BeginForm异步登录验证的类型,我们在下面给出一个例子:在登录页面Logion.cshtml。使用@using
(Ajax.BeginForm("Login", "Home", new.....
分类:
其他好文 时间:
2014-04-30 23:13:32
阅读次数:
561
今天工作当中遇到一个问题:统计信息并导出EXcel
报表。刚开始只做了统计信息:如下图请看最后一列的数据。我当时想都从数据库里取出来,但是由于我能力有限没有做出来。先贴下后来写的SQL 语句。alter
PROCEDURE spread_GetAuthoInfoByStatistics(@Count...
分类:
数据库 时间:
2014-04-30 23:07:30
阅读次数:
670