热门关键字:  PHP  Cisco  seo  网络广告  Java编程规则
C#语言
当前位置 :主页>编程开发>ASP.NET>C#语言>列表
C#一个封装的加密解密类
using System; using System.Text; using System.Globalization; using System.Security.Cryptography; using System.Windows.Forms; namespace Jh.Encrypts { public class JhEncrypt { /// summary /// 构造方法 /// /summary public JhEncrypt() { } /// summary ///...
作者:未知发表于:2005-10-22 16:00:00 点击:134 评论:0 查阅全文...
Windows 控件限制用户的基本法门(C#.NET 篇)
/****************************************************************** Windows 控件限制用户的基本法门(.NET 篇) C#.NET 的在下面 ------------------------------------------------------------------- 本代码演示 控制用户的输入的基本方式(屏蔽非数字字符输入)...
作者:未知发表于:2005-10-22 16:00:00 点击:111 评论:0 查阅全文...
C#.NET数据库操作记要
一.数据库连接 将连接的数据库信息存在下面的文件中,方便统一管理。 Web.config//还不懂这个的。最好好好学学,本人觉得很有用,.NET么当然要用.NET的东西了。 ?xml version="1.0" encoding="utf-8" ? configuration configSections sectionGroup name="system.web" se...
作者:未知发表于:2005-10-22 16:00:00 点击:100 评论:0 查阅全文...
C#封装的一个串口操作类(可用于Win CE)
using System; using System.Runtime.InteropServices; namespace NativeDll { /// summary /// SerialPort 的摘要说明。 /// /summary public class SerialPort { #region 申明要引用的和串口调用有关的API //win32 api constants private const uint GENERIC_READ = 0...
作者:未知发表于:2005-10-22 16:00:00 点击:180 评论:0 查阅全文...
用C#制作PDF文件全攻略
前 言 丽水市汽车运输集团有限公司信息中心 苟安廷 PDF文件是目前比较流行的电子文档格式,在办公自动化(OA)等软件的开发中,经常要用到该格式,但介绍如何制作PDF格式文件的资料非常少,在网上搜来搜去,都转贴的是同一段“暴力”破解的方法,代码片断如下: StreamW...
作者:未知发表于:2005-10-22 16:00:00 点击:212 评论:0 查阅全文...
c#.net函数和方法集
1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=currentTime.Day; 1.5 取当前...
作者:未知发表于:2005-10-22 16:00:00 点击:217 评论:0 查阅全文...
[C#]结束Excel的进程的方法
在论坛中经常看到问如何结束Excel进程的帖子,很多人给出 的方法是先得到系统进程列表,然后和“Excel”匹配,是Excel 的进程就杀死,我个人认为这个方法是不可行的,如果软件用这种方法 杀死自己启动的进程,应该算是Bug(有可能将用户Excel进程杀掉)。 我在网上找到...
作者:未知发表于:2005-10-22 16:00:00 点击:159 评论:1 查阅全文...
三层架构之数据库访问层完全篇(C#)
using System; using System.Data; using System.Data.SqlClient; using System.Configuration; namespace DbBase { public abstract class Base { #region "Fields of base calss" protected static string strConn = ConfigurationSettings.AppSettings["strConnectio...
作者:未知发表于:2005-10-22 16:00:00 点击:123 评论:0 查阅全文...
赞助商连接