C#
文章平均质量分 51
sgzld
有事QQ:3662171
展开
-
C# 连接SQL数据库读取/处理数据
新增一个类:DoDataBase.CS using System;using System.Text;using System.Data;using System.Data.SqlClient;using System.Data.Sql;namespace StockMarket_AnalysisViewNew{ public class DoDataBase {原创 2009-10-09 13:58:00 · 580 阅读 · 0 评论 -
C# Socket简单的传送和接送
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Net.Sockets原创 2010-04-20 11:13:00 · 214 阅读 · 0 评论 -
C#应用程序只开一个的检测
C#应用程序只开一个的检测转载 2011-01-19 14:18:00 · 235 阅读 · 0 评论 -
C# 捕获键盘按键的消息
C# 捕获键盘按键的消息转载 2011-01-20 19:20:00 · 800 阅读 · 0 评论 -
C# 下载网络文件
using System;using System.Collections;using System.Collections.Generic;using System.ComponentModel;using System.Linq;using System.原创 2011-08-03 12:36:25 · 227 阅读 · 1 评论 -
C# 程序延时(秒)
//延时(秒) //================================================================================= public static string WaitingSe原创 2011-08-03 12:38:07 · 596 阅读 · 0 评论 -
C#注册COM组件
using System.Diagnostics; string sRegFilesCmd = "regsvr32 -s Com组件名 " ;RunCmd(sRegFilesCmd); //注册Com组件 //注册Com组件原创 2011-08-03 12:31:55 · 394 阅读 · 0 评论 -
C#播放WAV声音文件
//WAV声音播放 //------------------------------------- [DllImport("winmm.dll")] public static extern int mciSendString(string m_strCmd, string m_strReceive, int m_v1, int m_v2);原创 2011-11-03 17:43:58 · 816 阅读 · 0 评论 -
C#时间/日期格式大全
C#时间/日期格式大全,C#时间/日期函数大全有时候我们要对时间进行转换,达到不同的显示效果 默认格式为:2005-6-6 14:33:34 如果要换成成200506,06-2005,2005-6-6或更多的该怎么办呢?我们要用到:DateTime.ToString的方法(String, IFormatProvider) using Sys转载 2012-06-02 22:54:40 · 149 阅读 · 0 评论