using System;using System.Collections.Generic;using System.Web;using System.Data.OleDb;usilConnDb类,适用于Sql数据库操作/// public class SqlConnDb
原创
2023-05-09 16:39:19
133阅读
遇到了需要操作一下sqlserver服务器,我连命令操作都不会,百度了半天终于找到一个能用的,虽然是不怎么样用但是记录一下比较好,要不然以后万一哪天又遇到了又需要查半天select*frommaster..sysprocesses查询结果字段介绍Spid:SqlServr会话IDKpid:Windows线程IDBlocked:正在阻塞求情的会话ID。如果此列为Null,则标识请求未被阻塞Waitt
原创
2018-07-14 12:45:37
652阅读
C++操作MySQL 简介 1)成果是一个用于操作MySQL的类; 2)它基于MySQL提供的C api进行处理; 3)它的优点,是简单易用,且不用额外考虑内存管理问题; 4)这里提供了代码,包括makefile和vs2015工程; 相关内容 1)相关的MySQL接口的简单介绍; 2)DBConnector和ResultSet的介绍; 一、MySQL的C api简介 除了C的ap
转载
2024-02-03 22:57:44
34阅读
using System;using System.Data;using System.Data.SqlClient;using System.Collections.Generic;using System.Reflection;/**//// <summary>/// DBClass : SQL Server 数据库 操作类/// </summary>/// <r
转载
2008-03-13 10:30:00
68阅读
2评论
FTP操作类示例,包含主动、被动模式
转载
2011-06-30 12:46:08
519阅读
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Net; using System.Windows.Forms; using System.Globalization; namespace FtpLib { public class FtpWeb { s
原创
2021-08-11 15:17:38
141阅读
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; namespace Dw.Util { /// <summary> /// Session 操作类 /// 1、GetSession
原创
2021-08-11 15:28:33
170阅读
using System;using System.Data;using System.Data.OleDb;using System.Configuration;using System.Windows.Forms;public class AccConnDb{ private OleDbConnection conn; private OleDbDataAdapt
原创
2023-05-09 15:59:24
127阅读
public class FtpWeb
{
string ftpRemotePath;
string ftpUserID;
string ftpPassword;
string ftpURI;
string ftpServerIP;
/// <summary>
/// 连接FTP
/// </summar
原创
2013-12-28 12:45:12
565阅读
复数的概念我们高中已经接触过,包含是实部和虚部,For example:2i + 3J;实部和虚部值可为整型,亦可浮点型,那在此实现一下简单的复数类的操作代码如下:class Complex
{
public:
Complex(double real,double imag)
&nb
原创
2016-01-20 19:59:41
747阅读
点赞
publicclassXmlControl{protectedstringstrXmlFile;protectedXmlDocumentobjXmlDoc=newXmlDocument();publicXmlControl(stringXmlFile){////TODO:在這裡加入建構函式的程式碼//try{objXmlDoc.Load(XmlFile);}catch(System.Excepti...
转载
2010-04-09 16:09:00
141阅读
2评论
//一、安装服务:
private void InstallService(IDictionary stateSaver, string filepath)
{
try
{
System.ServiceProcess.ServiceController service = new System.Serv
转载
2010-10-26 10:30:00
97阅读
2评论
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.Caching; namespace HuaTong.Ge
转载
2017-07-14 14:53:00
122阅读
2评论
为了方便SQLite的使用,封装了一个SQLite的C++类,同时支持ANSI 和UNICODE编码。代码如下: 头文件(SQLite.h) [cpp] view plaincopy /*********************************************************
转载
2019-08-28 22:14:00
336阅读
using System;using System.Net;using System.IO;using System.Text;using System.Net.Sockets;using System.Collections.Generic;namespace 阿飞_秋风扫落叶网站软文系统.Com...
转载
2015-08-21 18:11:00
65阅读
2评论
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml; using System.IO;namespace XML.Helper { public class xmlHelper { #region 字段 /// /// xml文件物理路径 /// private string _FilePath = string.Empty; /// /// xml文档 /// private XmlDocument _xml; ...
转载
2013-08-27 19:01:00
242阅读
2评论
001 using System;002 using System.Collections.Generic;003 using System.Text;004 using System.Net;005 using System.IO;006 007 namespace Utility008 {009
转载
2011-07-08 09:01:00
72阅读
2评论
写的一个XML操作类,包括读取/插入/修改/删除。using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.We
转载
2010-12-20 15:14:00
226阅读
2评论
using System;using Microsoft.Office.Interop.Excel;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.Html
转载
精选
2013-01-02 21:35:15
334阅读
引用:http://cgxcn.blog.163.com/blog/static/1323124220095425707
转载
2012-09-07 06:38:00
65阅读
2评论