码迷,mamicode.com
首页 >  
搜索关键字:buddy system    ( 49281个结果
自定义模型绑定系统
一 : 创建自定义的值提供器(IValueProvider接口定义了值提供器)==目的==>把"自己的数据源"添加到绑定过程中. 自定义值提供器就需要实现IValueProvider接口. namespace System.Web.Mvc{ /// /// Defines the methods t...
分类:其他好文   时间:2014-05-09 03:51:50    阅读次数:403
.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
WPF单线程定时器 简单实例
//窗体加载完毕 void MyMessageBox_Loaded(object sender, RoutedEventArgs e) { //启动定时期倒计时,多线程计时 //System.Threading....
分类:编程语言   时间:2014-05-09 03:27:00    阅读次数:366
泛型方法和空值
数据库中的数字和编程语言中的数字有显著的不同,数据库中的数字可以为空,C#中的数字不能为空。int? x = null; //此时x可以为空测试类(NullableTest)using System;using System.Collections.Generic;using System.Linq...
分类:其他好文   时间:2014-05-09 03:20:29    阅读次数:303
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
System.BadImageFormatException: Could not load file or assembly
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe C:\_PRODUKCIJA\Debug\DynamicHtmlTool.exeMicrosoft(R).NET FrameworkInstallation utility...
分类:其他好文   时间:2014-05-08 23:53:56    阅读次数:518
C#中AppDomain.CurrentDomain.BaseDirectory与Application.StartupPath的区别
// 获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory// 获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName// 获取和设置当前目录(该进...
分类:移动开发   时间:2014-05-08 23:49:48    阅读次数:364
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!