原理如下:1、利用反射进行动态加载和调用.Assembly ass=Assembly.LoadFrom(DllPath); //利用dll的路径加载,同时将此程序集所依赖的程序集加载进来,需后辍名.dllAssembly.LoadFile 只加载指定文件,并不会自动加载依赖程序集.Assmbly.L...
分类:
Web程序 时间:
2014-07-16 23:14:59
阅读次数:
206
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window...
using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions;namespace MyUtility{ /// /// /// p...
分类:
Web程序 时间:
2014-07-16 23:13:38
阅读次数:
240
using System;using System.Collections.Generic;using System.Text;using System.Collections;using DevComponents.AdvTree;namespace MyUtility { /// ...
分类:
Web程序 时间:
2014-07-16 23:13:34
阅读次数:
270
using System;using System.Collections.Generic;using System.Text;using System.Management;using Utility;using EXDataControl;using System.Collections;usi...
分类:
Web程序 时间:
2014-07-16 23:13:16
阅读次数:
230
/// /// 表单的回车转TAB键 /// /// /// private void BasicForm_KeyDown(object sender, KeyEventArgs e) { ...
/// /// 创建验证码 /// /// private string GenerateCheckCode() { int number; char code; string checkCode = String.Empty; ...
分类:
Web程序 时间:
2014-07-16 23:12:18
阅读次数:
205
object missing = System.Reflection.Missing.Value; //表示缺i省object SaveFileDialog savedialog = new SaveFileDialog(); savedialog.Filter = "(*.xlsx)|*.xlsx...
分类:
Web程序 时间:
2014-07-16 23:12:04
阅读次数:
236
using System.Text.RegularExpressions; //脱机数据导出 private void writeTxt(string str) { string strFileName = @"\Program Files\fir...
分类:
Web程序 时间:
2014-07-16 23:11:15
阅读次数:
252
//當主表選擇行更改後,顯示相應的採購資料 private void dgvMain_SelectionChanged(object sender, EventArgs e) { if (this.dgvMain.SelectedRows.Count...