码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
C# CacheHepler Class
internal class CacheHelper { /// /// Insert value into the cache using /// appropriate name/value pairs /// //...
分类:其他好文   时间:2014-05-09 04:19:56    阅读次数:246
ADO.NET连接数据库
using System.Data;using System.Data.Sql;using System.Data.SqlClient; protected void Page_Load(object sender, EventArgs e) { SqlConn...
分类:数据库   时间:2014-05-09 04:01:32    阅读次数:388
c++中对象析构顺序研究
过程式析构:测试案例:test.cpp#include using namespace std;class Test{public: Test(int dt=0){data=dt;} ~Test(){coutusing namespace std;class Test{public: Test...
分类:编程语言   时间:2014-05-09 03:52:15    阅读次数:374
.net Reflection(反射)- 一
Reflection 反射需要引用using System.Reflection; 命名空间。 通过Assembly 类的 Load( ); 加载指定的 程序集 Assembly 是不能被实例化, 所以能通过调用静态方法Load();加载指定程序集。 通过GetType()RefLiuyl...
分类:Web程序   时间:2014-05-09 03:36:17    阅读次数:444
C#发送邮件代码
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net.Mail;namespace MailGet{ public class Utility ...
分类:其他好文   时间:2014-05-09 03:30:26    阅读次数:269
NPOI 2.0 读取、编辑、保存Excel文件
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using NPOI.SS.UserModel;using NPOI.XSSF.UserModel;na...
分类:其他好文   时间:2014-05-09 03:29:58    阅读次数:318
泛型方法和空值
数据库中的数字和编程语言中的数字有显著的不同,数据库中的数字可以为空,C#中的数字不能为空。int? x = null; //此时x可以为空测试类(NullableTest)using System;using System.Collections.Generic;using System.Linq...
分类:其他好文   时间:2014-05-09 03:20:29    阅读次数:303
HDU 1061 Rightmost Digit
题目链接题意 : 求n的n次方的个位数是多少。思路 : 自己写一下看一下规律,会发现0,1,5,6的个位数怎么乘都是原来这个数,剩下的数也还是有规律。 1 #include 2 #include 3 #include 4 5 using namespace std ; 6 7 int a[...
分类:Web程序   时间:2014-05-09 03:13:46    阅读次数:341
C# - 使用ConfigurationManager保存数据到App.config
1. ConfigurationManager的命名空间:using System.Configuration;2.To be able to save you have to use a configuration object returned by the OpenExeConfigurati...
分类:移动开发   时间:2014-05-09 03:03:07    阅读次数:596
VS2008中C#开发webservice简单实例
1.创建工程文件-> 新建->网站 如下图。工程建好后,会自动添加如下代码: 1 using System; 2 using System.Linq; 3 using System.Web; 4 using System.Web.Services; 5 using System.Web.Servic...
分类:Web程序   时间:2014-05-09 02:59:12    阅读次数:608
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!